码迷,mamicode.com
首页 >  
搜索关键字:rootviewcontroller    ( 392个结果
UIScrollerView 的简单使用
//// RootViewController.m// Lianxi_02//// Created by Super man on 15-2-11.// Copyright (c) 2015年 super man. All rights reserved.//#import "RootViewCon...
分类:其他好文   时间:2015-02-11 20:31:45    阅读次数:164
iOS学习之UINavigationController详解与使用(二)页面切换和segmentedController
1、RootView 跳到SecondView 首先我们需要新一个View。新建SecondView,按住Command键然后按N,弹出新建页面,我们新建SecondView 2、为Button 添加点击事件,实现跳转 在RootViewController.xib中和RootViewController.h文件建立连接 在RootVie...
分类:移动开发   时间:2015-02-09 10:58:45    阅读次数:153
AVAudioPlayer播放音乐文件及读取ipod库中的音乐文件
下面是ipad上的调试效果下面是代码,代码中都有注释:#import #import #import @interface RootViewController : UIViewController { AVAudioPlayer *player;}@property (nonatomic, ret...
分类:其他好文   时间:2015-02-02 22:56:38    阅读次数:208
oc学习之路----application.keyWindow.rootViewController与self.window.rootViewController与[self.window makeKeyAndVisible];小发现
刚才调试的时候除了一些小问题,有一段代码要重用 NSString *key = @"CFBundleVersion"; // 取出沙盒中存储的上次使用软件的版本号 NSUserDefaults *defaults = [NSUserDefaults s...
分类:移动开发   时间:2015-02-02 14:07:17    阅读次数:9532
iOS 打包ipa文件 真机测试
1. 新建一个工程//// RootViewController.m// YouXianMing//// Copyright (c) 2014年 Y.X. All rights reserved.//#import "RootViewController.h"@interface RootVi...
分类:移动开发   时间:2015-01-21 13:16:45    阅读次数:146
退出登录功能改变window的rootviewcontroller输入框键盘不会收起
最近在公司负责做ipad开发,一个简单的需求,一个设置视图以modal的方式弹出,占据屏幕的中间一块区域,这时点击视图上的退出登录按钮,切换程序主window的rootviewcontroller为登录controller,这时问题来了,所有的输入框激活后弹出的键盘都不能自动收回,包括进入程序后其....
分类:Windows程序   时间:2015-01-15 23:36:15    阅读次数:170
iOS 跳转出现attempt to dismiss modal view controller whose view does not currently ……的解决方案
今天在设置修改密码成功进行跳转到登录页面重新登录的时候,我写的原代码是:  [self dismissViewControllerAnimated:YES completion:nil];           [UIApplication sharedApplication].keyWindow.rootViewController = [[loginViewController alloc...
分类:移动开发   时间:2015-01-09 10:47:16    阅读次数:236
ios开发-cocos2d-x适配iphone6
好久没弄cocos2d-x了。今天闲着蛋疼重新玩了下。 简单说下自己解决iphone5适配的问题,方法很笨,但是挺简单的。 1.在ios目录下的RootViewController.mm文件中加入如下代码 [cpp] view plaincopy // Override to allow orientations othe...
分类:移动开发   时间:2015-01-05 09:33:59    阅读次数:160
UINavigationController的简单总结
UINavigationController是IOS开发中常用的用于视图切换的控制器. 在对象管理上, UINavigationController采用stack的方式来管理各个view的层级, rootViewController在stack的最底层. 同时, 也提供了诸多方法用于进行view之间的切换及管理等.常见的方法有pushViewController与popViewController等, 需要注意的是UINavigationController对应的segue的属性要设置为push方式....
分类:其他好文   时间:2014-12-24 01:20:53    阅读次数:606
JSON&XML的解析并转成模型
//// RootViewController.m// json demo//// Created by liman on 14-6-20.// Copyright (c) 2014年 liman. All rights reserved.//#import "RootViewController....
分类:Web程序   时间:2014-12-09 19:26:03    阅读次数:149
392条   上一页 1 ... 24 25 26 27 28 ... 40 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!