码迷,mamicode.com
首页 >  
搜索关键字:rootviewcontroller    ( 392个结果
ios 从AppController 传   agent_logic
AgentLogic*temp_agent_logic=[[AgentLogicalloc]init];[temp_agent_logicsetViewController:viewController];m_agent_logic=temp_agent_logic;#import"RootViewController.h"-(void)setViewController:(UIViewController*)view_controller;@interfaceAgentLogic()@property(no..
分类:移动开发   时间:2016-06-23 22:31:27    阅读次数:236
UINavigationBar 和view 重叠覆盖问题
如果没有是storyboard进行界面设计,在ios7之后会遇到rootviewcontroller的view被navigationbar遮盖的问题,其实很好解决- (void)viewDidLoad { [super viewDidLoad]; if( ([[[UIDevice currentDe... ...
分类:其他好文   时间:2016-06-22 22:07:19    阅读次数:170
【代码笔记】UIView的placeholder的效果
一,效果图。 二,工程图。 三,代码。 RootViewController.h #import <UIKit/UIKit.h> @interface RootViewController : UIViewController <UITextViewDelegate> { UITextView *p ...
分类:其他好文   时间:2016-06-22 09:23:09    阅读次数:130
UIWindow statusBar消失
1.新建UIWindow 程序崩溃 报无根控制器错误 Xcode7环境下,新建UIWindow需添加rootViewController 2.新建UIWindow后 statusBar消失 Info.plist文件 新增项View controller-based status bar appear ...
分类:Windows程序   时间:2016-06-18 18:33:55    阅读次数:283
【代码笔记】通过颜色来生成一个纯色图片
一,效果图。 二,代码。 RootViewController.m - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. UIImageView *imageView ...
分类:其他好文   时间:2016-06-12 09:30:15    阅读次数:143
-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "RootViewController" nib but the view outlet was not set
当使用xib加载控制器的时候,报如下错误: 原因: 控制器与xib没有关联 解决办法: 1.选择xib文件 2.控制器类关联 3.视图关联(拖线) ...
分类:其他好文   时间:2016-06-08 19:01:06    阅读次数:470
【代码笔记】替换电话号码中间4位为-号
一,效果图。 二,代码。 RootViewController.m - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. //电话号码 UILabel *telLab ...
分类:其他好文   时间:2016-06-08 09:13:28    阅读次数:149
Masonry第三方代码约束
#import "RootViewController.h"#import "Masonry.h" @interface RootViewController () @end @implementation RootViewController - (void)viewDidLoad { [supe ...
分类:其他好文   时间:2016-06-04 10:38:20    阅读次数:220
APP1 window
self.window = UIWindow(frame:UIScreen.mainScreen().bounds) let rootVC : RootViewController = RootViewController() let navi = UINavigationController(ro ...
分类:移动开发   时间:2016-06-01 21:20:38    阅读次数:126
【代码笔记】书架页面
一,效果图。 二,工程图。 三,代码。 RootViewController.h #import <UIKit/UIKit.h> @interface RootViewController : UIViewController <UITableViewDataSource,UITableViewDe ...
分类:其他好文   时间:2016-05-31 10:35:02    阅读次数:96
392条   上一页 1 ... 4 5 6 7 8 ... 40 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!