11 2016 档案

xib autolayout subview
摘要:http://sebastiancelis.com/2014/06/12/using-xibs-layout-custom-views/ initWitchCoder 有点小问题 阅读全文

posted @ 2016-11-29 11:30 景树园 阅读(99) 评论(0) 推荐(0)

自定义 XIB subview的时候 为什么控件都是 空的
摘要:http://blog.wtlucky.com/blog/2014/08/10/nested-xib-views/ 阅读全文

posted @ 2016-11-29 10:14 景树园 阅读(237) 评论(0) 推荐(0)

UINavigationController 返回按钮去掉文字
摘要:[[UIBarButtonItem appearance] setBackButtonTitlePositionAdjustment:UIOffsetMake(0, -60) forBarMetrics:UIBarMetricsDefault]; 阅读全文

posted @ 2016-11-28 15:02 景树园 阅读(578) 评论(0) 推荐(0)

Nav titleView 设置的两个方式
摘要:1.self.navigationItem.titleView = vv; 2.[self.navigationController.navigationBar addSubview:vv]; 阅读全文

posted @ 2016-11-25 11:30 景树园 阅读(361) 评论(0) 推荐(0)

IOS 拍照旋转修正
摘要:- (UIImage *)fixOrientation:(UIImage *)aImage { // No-op if the orientation is already correct if (aImage.imageOrientation == UIImageOrientationUp) re 阅读全文

posted @ 2016-11-22 14:57 景树园 阅读(211) 评论(0) 推荐(0)

IOS 颜色 16进制 转换
摘要:#define RGB(r,g,b) ([UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1]) #define HEXTOCOLOR(hexValue) ([UIColor colorWithRed:((float)((h 阅读全文

posted @ 2016-11-09 11:33 景树园 阅读(234) 评论(0) 推荐(0)

导航