抽屉效果,页面灵活漂亮并且节省空间。在根视图的h文件: 1 #import 2 //实现抽屉效果 3 //由于手机屏幕较小,内容较多,有效利用空间 。 4 @interface RootViewController : UIViewController 5 { 6 UITableView ...
分类:
其他好文 时间:
2015-09-18 21:53:14
阅读次数:
223
1 #import "RootViewController.h" 2 #import 3 #import //存放了系统调用的常量 4 @interface RootViewController () 5 6 @end 7 8 @implementation RootViewControl...
分类:
其他好文 时间:
2015-09-18 21:51:45
阅读次数:
216
#import "RootViewController.h"@interface RootViewController ()@property (nonatomic, retain) UITextField *textField;@end@implementation RootViewControl...
分类:
移动开发 时间:
2015-09-18 18:29:03
阅读次数:
233
#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (void)viewDidLoad { [super viewDidLoad]; ...
分类:
移动开发 时间:
2015-09-18 18:26:34
阅读次数:
185
#import "RootViewController.h"@interface RootViewController ()@end@implementation RootViewController- (void)viewDidLoad { [super viewDidLoad]; ...
分类:
移动开发 时间:
2015-09-17 23:06:41
阅读次数:
213
在RootViewController的m文件里: 1 #import "RootViewController.h" 2 #import "ListViewController.h" 3 @interface RootViewController () 4 5 @end 6 7 @impleme.....
分类:
其他好文 时间:
2015-09-14 21:03:53
阅读次数:
172
学iOS以来,感觉自定义的东西,比系统自带的要容易操作一点,可修改和执行的空间要多一点。下面说一下用到很多的tabbar。首先,创建一个FButton类,继承UIButton,用来规范tabbar上的按钮。然后,创建一个RootViewController,继承UITabbarController作...
分类:
其他好文 时间:
2015-09-14 15:13:18
阅读次数:
188
RootViewController.m#import "RootViewController.h"#import "UIImage+UIImageScale.h"@interface RootViewController ()@property (nonatomic, retain) NSArra...
分类:
移动开发 时间:
2015-09-13 22:50:50
阅读次数:
300
自定义UINavigationController的push和pop动画我们这里先创建一个简单的工程 , 在storyboard 中拖一个导航控制器 , rootViewController 改成我们的ViewController 。为了实现自定义动画切换 , 我们需要实现两个协议 。 UIViewControllerAnimatedTransitioning,UINavigationControl...
分类:
编程语言 时间:
2015-09-11 10:48:45
阅读次数:
237
刚才遇到一个问题,现在在这就当纪录一下,大家有遇到的能快速找到原因,分享一下啊。在APP中,需要用户登录后才能使用,所以我通过更改APP的[UIApplicationsharedApplication].keyWindow.rootViewController来控制界面的跳转。在使用过程中出现如下问...
分类:
移动开发 时间:
2015-09-09 19:12:43
阅读次数:
160