摘要: 自:http://stackoverflow.com/questions/7072989/iphone-ipad-osx-how-to-get-my-ip-address-programmatically #import #import // Get IP Address- (NSString *... 阅读全文
posted @ 2014-05-15 14:34 М80メ 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.liming.it/?p=2721、自定义背景色// 设置 navigationbar 颜色self.navigationController.navigationBar.tintColor = [UIColor redColor];2、设置为图片// 设置 navigationbar 背景图[self.navigationController.navigation... 阅读全文
posted @ 2014-05-15 11:39 М80メ 阅读(268) 评论(0) 推荐(0) 编辑
摘要: if (IS_IOS7()) { /* iOS7 时 Navigation 颜色 */ [[UINavigationBar appearance] setBarTintColor: HexColor(0x7bae01)]; } else { ... 阅读全文
posted @ 2014-05-15 11:26 М80メ 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 导航栏自带的按钮,时常不能满足要求,所以深深需要进行各种定制.写一个UINavigationItem的category// UINavigationItem+CB_ChangeButton.h
@interface UINavigationItem (CB_ChangeButton)- (void) CB_SetRightButton:(UIButton *)button;- (void) CB_... 阅读全文
posted @ 2014-05-15 09:43 М80メ 阅读(297) 评论(0) 推荐(0) 编辑