1.修改中间Title字体以及大小 [self.navigationController.navigationBar setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys: ...
分类:
移动开发 时间:
2015-06-20 16:52:54
阅读次数:
147
场景如标题这样不行:[self.navigationController popToRootViewControllerAnimated:YES];MainViewController *mainCtrl = [(AppDelegate *)[UIApplication sharedApplicat...
分类:
其他好文 时间:
2015-06-19 15:10:24
阅读次数:
150
for (UIViewController *controller in self.navigationController.viewControllers) { if ([controller isKindOfClass:[HZHouseListViewController cl...
分类:
其他好文 时间:
2015-06-18 13:17:59
阅读次数:
144
一. 系统导航默认手势#import "CBNavigationController.h"//手势返回@interface CBNavigationController ()@end@implementation CBNavigationController- (void)viewDidLoad{ ...
分类:
其他好文 时间:
2015-06-18 09:26:07
阅读次数:
101
通常我们做一个UITableViewController(以下简称tvc)直接打开,在没有NavigationController的时候都会是这样
问题是,你要加一个UINavigationController吗?还是像别人一样不用UITableViewControler而是在main storyboard 里面造一个UIViewController + UITableView 下移20px?告诉...
分类:
移动开发 时间:
2015-06-17 21:47:38
阅读次数:
139
interactivePopGestureRecognizer(2015-01-20 16:12:43)转载▼标签:it分类:iOS苹果一直都在人机交互中尽力做到极致,在iOS7中,新增加了一个小小的功能,也就是这个api:self.navigationController.interactiveP...
分类:
其他好文 时间:
2015-06-16 18:39:19
阅读次数:
119
IOS视图控制器左边缘右滑pop出栈
IOS7.0之后,苹果优化了一个小功能,就是对于UINavagationController堆栈里的UIViewController,只要轻轻在视图控制器的左边缘右滑一下,该视图控制器就会pop出栈(前提当然是对于非根视图控制器而言)。实现方法很简单,一句话搞定:
self.navigationController.interactivePopGestur...
分类:
移动开发 时间:
2015-06-13 11:21:25
阅读次数:
2820
该源码是一款非常不错的点餐系统应用,应用源码齐全,运行起来非常不错,基本实现了点餐的一些常用的功能,而且界面设计地也很不错,是一个不错的ios应用学习的例子,喜欢的朋友可以下载学习看看,更多ios源码尽在源码天堂。1.TabbarController与NavigationController的套用2.T..
分类:
其他好文 时间:
2015-06-11 14:55:27
阅读次数:
133
一。自定义navigationbar
- (void)initNavigationBar{
[self.navigationController setNavigationBarHidden:YES];
UINavigationBar *bar = [[UINavigationBar alloc] initWithFrame:CGRectMake(0, ...
分类:
移动开发 时间:
2015-06-10 08:58:53
阅读次数:
229
导航栏高度获取1 self.navigationController.navigationBar.frame.size.height状态栏高度获取1 [UIApplication sharedApplication].statusBarFrame.size.height标签栏高度获取1 tabVie...
分类:
其他好文 时间:
2015-06-10 06:31:28
阅读次数:
2022