一 改动导航栏颜色 导航栏在哪个页面代码放在那里面 self.navigationController.navigationBar.tintColor = [UIColor colorWithRed:(21.0/255.0) green:(153.0 / 255.0) blue:(224.0 / 2 ...
分类:
移动开发 时间:
2017-05-14 21:50:17
阅读次数:
228
转自 http://www.cocoachina.com/bbs/read.php?tid=1719540 #define NavigationBar_HEIGHT 44 #define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width) # ...
分类:
移动开发 时间:
2017-05-07 14:48:41
阅读次数:
234
// 背景图恢复默认 [self.navigationController.navigationBar setBackgroundImage:nil forBarMetrics:UIBarMetricsDefault]; // 底部线恢复默认 self.navigationController.na... ...
分类:
其他好文 时间:
2017-05-06 19:11:29
阅读次数:
120
//设置公共TabBarItem 的属性 [UITabBarItem appearance] //设置公共NavigationBar 的属性 [UIBarButtonItem appearance] //设置公共TabBarItem 的属性 [UITabBarItem appearance] //设 ...
分类:
移动开发 时间:
2017-05-01 12:06:57
阅读次数:
214
self.navigationBar.setBackgroundImage(createImageWithColor(UIColor.clear),for:.default)//////////////////////funccreateImageWithColor(_color:UIColor)->UIImage{returncreateImageWithColor(color,size:CGSize(width:1,height:1))}funccreateImageWithColor(_color..
分类:
其他好文 时间:
2017-04-23 23:16:47
阅读次数:
436
// 隐藏navigationBar 没有卡顿 [self.navigationController setNavigationBarHidden:YES animated:YES]; // 隐藏navigationBar 切换页面时,有卡顿// self.navigationController. ...
分类:
其他好文 时间:
2017-04-12 16:52:26
阅读次数:
134
1. 地图周边快查,按钮点击没反应 子控件超出了父控件 2.图片显示灰色背景,一直去不掉 设置图片背景图片clear cloro 3. 显示隐藏导航栏 下面两个方法效果不同 self.navigationController.navigationBar.hidden = NO;// [self.na ...
分类:
其他好文 时间:
2017-04-09 09:51:59
阅读次数:
142
adbshellamstart-n包名/包名+类名(-n类名,-aaction,-ddate,-mMIME-TYPE,-ccategory,-e扩展数据,等)。发广播adbshellambroadcast-acom.vanzo.change.navigationbar.layout--ezback_on_rightfalse通过命令行执行adbshellambroadcast发送广播通知。adbshellambroadcast后面的参..
分类:
数据库 时间:
2017-04-04 01:26:27
阅读次数:
291
self.navigationController.navigationBar.barStyle = UIBarStyleBlack;//黑色 self.navigationController.navigationBar.barStyle = UIBarStyleDefault;//白色 设置不同 ...
分类:
其他好文 时间:
2017-03-02 11:15:54
阅读次数:
173
1 // 取消导航栏下面的分隔线 2 navigationBar.setBackgroundImage(UIImage(), for: .default) 3 navigationBar.shadowImage = UIImage() 4 5 // 注意:如果设置了空的背景和阴影图片,要设置此属性为... ...
分类:
其他好文 时间:
2017-01-19 12:08:30
阅读次数:
213