本月博客排行
年度博客排行
-
第1名
青否云后端云 -
第2名
zw7534313 -
第3名
大家都说我很棒 - wy_19921005
- liyihz2008
- gengyun12
- e_e
- luxurioust
- zysnba
- robotmen
- gaozzsoft
- jywhltj
- hbxflihua
- qepwqnp
- gashero
- 解宜然
- sichunli_030
- vipbooks
- fantaxy025025
- wallimn
- cuityang
- ssydxa219
- gdpglc
- javashop
- ranbuijj
- jickcai
- hanbaohong
- johnsmith9th
- appalese
- gaojingsong
- weiyides
- java-007
- zhangyi0618
- AVI
- laiyangdeli
- 淡看人生
- liunancun
- xpenxpen
- lemonhandsome
- nychen2000
- 龙哥IT
- tanling8334
- ouanui
- conkeyn
- jveqi
- xyuma
- panshunchang
- MagicLee
- wjianwei666
- benladeng5225
最新文章列表
导航栏加分割线的实现
self.view.backgroundColor = [UIColor clearColor];
self.view.opaque = NO;
self.navigationBar = [[UINavigationBar alloc]initWithFrame:CGRectMake(0, 0, CGRectGetWidth(self.view.bounds), 64)];
[self. ...
ios statusBar 字体颜色
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:NO];
在plist里面添加 :View controller-based status bar ... NO 就ok了
- (void)setDefaultStyle
{
...
[转]隐藏虚拟按键(导航栏)的方法
Controls for system UI visibility
Since the early days of Android, the system has managed a UI component known as the status bar, which resides at the top of handset devices to deliver information suc ...
定制 UIBarButtonItem:
navigationController 内部有一个栈的实现,管理所有的view , 栈的底部是 根视图, 栈的顶部是当前显示的视图。
A navigation controller object manages the currently displayed screens using the navigation stack. At the bottom of this s ...
修改StatusBar以及NavigationBar的样式
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleBlackOpaque];
self.navigationController.navigationBar.barStyle = UIBarStyleBlack;
UINavigationBar自定义背景以及按钮(转)
UINavigationBar自定义导航栏背景和按钮,完美支持横屏竖屏旋转,视图控制器可以分别使用自己的导航栏
此方法可以通过Apple审核,导航上的按钮背景需要做,否则看起来不那么和之又谐
//CustomNavigationBar.h
@interface UINavigationBar (UINavigationBarCategory)
UIImageView *backgroundV ...