码迷,mamicode.com
首页 >  
搜索关键字:rootviewcontroller    ( 392个结果
cocos2d-x 3.1.1 学习笔记[21]cocos2d-x 创建过程
文章出自于 http://blog.csdn.net/zhouyunxuanRootViewController.h#import @interface RootViewController : UIViewController {}- (BOOL) prefersStatusBarHidden;@...
分类:其他好文   时间:2014-11-10 11:51:18    阅读次数:249
模态视图和父视图之间转换的方法
1.模态视图的静态工厂方法调用: + (void)dismiss {     UIWindow *window;          window = [UIApplication sharedApplication].keyWindow;     if([window.rootViewController isKindOfClass:[ASDepthModal...
分类:其他好文   时间:2014-11-07 11:21:19    阅读次数:159
iOS UIPageControl与UIScrollView配合使用代码
#import "RootViewController.h" #import "RootView.h" @interface RootViewController () @property(nonatomic,retain)RootView *myview; @end @implementation RootViewController - (id)initWithNibName:(NSSt...
分类:移动开发   时间:2014-11-04 22:44:59    阅读次数:312
swift 用协议实现代理传值功能
1.功能简单介绍RootViewController中用个lable和一个button,点击button跳转到模态窗体。在模态窗体中有个TextField和一个button,输入文字点击关闭模态button后跳转到RootViewController,并改变其label为输入的值。2.实现思路Mod...
分类:编程语言   时间:2014-11-04 14:27:34    阅读次数:216
简易图片浏览器【可缩放图片,滑动后恢复正常】
AppDelegate.h #import "AppDelegate.h" #import "RootViewController.h" @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launc...
分类:其他好文   时间:2014-11-02 09:32:00    阅读次数:196
自定义工具栏tabbar图片
在AppDelegate.m中,设置根视图控制器 RootViewController.h @interface RootViewController : UITabBarController { UIImageView *_selectedImg; } RootViewController.m #import "RootViewController.h" #import "Home...
分类:其他好文   时间:2014-11-02 09:31:35    阅读次数:246
新浪微博的简易框架【主题选中特效】
在AppDelegate.m中设置根视图控制器 RootviewController.h @interface RootTabbarController : UITabBarController { UIImageView *_selectedImg; }RootviewController.m #import "RootTabbarController.h" #import "Ho...
分类:其他好文   时间:2014-11-02 09:27:24    阅读次数:242
解释为什么imgView要打开点击事件【事件响应链】
(1)在AppDelegate.m文件中将导航控制器设置为根控制器 RootViewController *rootCtrl = [[RootViewController alloc] init]; UINavigationController *navCtrl = [[UINavigationController alloc] initWithRootViewController:r...
分类:其他好文   时间:2014-11-01 17:49:33    阅读次数:176
在iOS上present一个半透明的viewController
UIViewController *viewController = [[UIViewController alloc]init];UIViewController* controller = self.view.window.rootViewController;viewController.vi...
分类:移动开发   时间:2014-10-30 15:11:36    阅读次数:205
电话本索引【表视图】
MainViewController.h @interface RootViewController : UIViewController @property(nonatomic, retain)NSDictionary *dic; @property(nonatomic, retain)NSArray *allKeys; MainViewController.m - (void)view...
分类:其他好文   时间:2014-10-30 11:52:11    阅读次数:188
392条   上一页 1 ... 27 28 29 30 31 ... 40 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!