腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
4
回答
self.window
.rootViewController
vs
window
addSubview
、
我注意到在应用程序代理中有很多iPhone应用程序的示例有而不是
self.window
.rootViewController = self.someController; (2)
浏览 19
提问于2011-03-10
得票数 51
回答已采纳
1
回答
当向“ViewController”添加本地通知脚本时无法加载didFinishLaunchingWithOptions
、
instantiateViewControllerWithIdentifier:@"TaskViewController"];
self.window
.rootViewControllerRecordingViewControllerVar = [mainStoryboard instantiateViewControllerWithIdentifier:@"RecordingViewController"];
浏览 0
提问于2014-07-17
得票数 1
回答已采纳
1
回答
pushViewController不工作
、
、
我是Objective-C和iPhone编程的新手,所以如果这是一个新手问题,我很抱歉。我有一个简单的应用程序,需要从一个视图转到另一个视图。我在IB中设置了xib文件(即,将一些按钮拖到窗口上),并连接了所有按钮(所有按钮都可以工作)。然后,我创建了另一个xib文件和类(也是一个UIViewController),并将它们连接起来。当第一个视图中的按钮被按下时,我想加载第二个视图。下面是推送视图的代码: CreateAccountViewController*acctView = [[CreateAccount
浏览 0
提问于2011-07-09
得票数 0
回答已采纳
1
回答
iOS应用程序启动黑屏、UINavigationController、Nib、RootViewController
、
、
、
[[UINavigationController alloc] initWithFrame:[[UIScreen mainScreen] bounds]];[self.
window
makeKeyAndVisible];
浏览 4
提问于2013-01-23
得票数 0
回答已采纳
2
回答
下面这两个陈述之间的区别是什么?
、
、
self.window
.rootViewController = self.tabBarController; // Add the tab bar controller's current view as a subview of the
window
//
self.win
浏览 0
提问于2011-10-14
得票数 1
1
回答
ADBannerView导致界面方向混乱
、
、
、
我已经在我的应用程序中集成了iAd横幅和iAd间隙广告,当我点击并旋转到横向时,我得到了一个奇怪的行为,在取消广告后,奇怪的事情发生了:第二件事,我不能解决的是,当我打开一个UIPopoverController (例如用ImagePicker,但它发生在所有种类的内容上)时,弹出窗口和/或内容是横向的。阿米特
浏览 0
提问于2013-05-30
得票数 0
回答已采纳
4
回答
将RootviewController更改为导航控制器
、
、
、
、
navigationController=[[UINavigationController alloc] initWithRootViewController:detailViewController]; } 'adding
浏览 0
提问于2012-09-03
得票数 6
回答已采纳
1
回答
NavigationController未加载视图
、
、
、
、
navigationController = [[UINavigationController alloc] initWithRootViewController:loginController]; [self.
window
addSubview
:navigationController.view]; [self.
window
浏览 0
提问于2012-08-29
得票数 0
回答已采纳
1
回答
Xcode 4 iphone 3.1.3应用程序不工作
、
、
、
、
在搜索解决方案时,我发现了以下内容:
self.window
.rootViewController = self.viewController; [self.
window
addSubview
:self.viewController.v
浏览 0
提问于2011-09-21
得票数 0
回答已采纳
1
回答
选项卡栏未显示
、
、
tabs_array=[[NSArray alloc]initWithObjects:nav,nav1, nil];[self.
window
addSubview
:main_tab.view]; return YES;
浏览 1
提问于2013-04-15
得票数 0
回答已采纳
1
回答
应用程序代理中的iOS 6 Objective-C开机自检启动画面
、
、
、
UIImageView *imageView = [[UIImageView alloc] initWithImage:image]; imageView.alpha = 1.0f; [self.
window
addSubview
:imageView]; [self.
window
m
浏览 3
提问于2013-07-01
得票数 1
回答已采纳
2
回答
在XCode 4中布局通用应用程序
、
、
在主应用程序委托中,我将代码我没有添加任何其他代码,允许子类应用程序委托实例化它们各自的视图控制器。应用程序委托中:[self.
window
addSubview
: myVC_iPhone];Incompatible pointer types sending 'Maste
浏览 2
提问于2011-11-14
得票数 0
回答已采纳
1
回答
不工作的UIButton操作
、
、
、
我将xcode 6.2更新为7,并添加:在AppDelegate.m。self.
window
= [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; ViewController
浏览 1
提问于2015-09-23
得票数 0
回答已采纳
1
回答
UINavigation控制
、
UINavigationController alloc] initWithRootViewController:homepage]; [self.
window
makeKeyAndVisible]; 我把它添加到了我的navigationController中(我认为这可能是问题的一部分
浏览 4
提问于2013-10-17
得票数 0
回答已采纳
1
回答
iOS:在控制台上收到此消息(不是错误)-应用程序窗口应在应用程序启动结束时具有根视图控制器
、
、
、
application:(UIApplication *)application didFinishLaunchingWithOptions: (NSDictionary *)launchOptions PhotosViewController *viewController = [[PhotosViewControllerself.navigationController = [[UINavigationControl
浏览 0
提问于2012-09-10
得票数 1
回答已采纳
4
回答
self.window
.rootViewController = self.someController不工作?
、
我在这里看到了这篇文章(下面的链接),它说你可以替换:通过以下方式: @synthesize <
浏览 2
提问于2011-08-08
得票数 1
回答已采纳
1
回答
作为选项卡栏的自定义视图,pushViewController不起作用
、
application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptionsself.
window
].delegate; [appDelegate addCustomBottomBar]; return YES;[UIView setAnimationTransition:UIViewA
浏览 3
提问于2013-01-08
得票数 0
2
回答
appDelegate方法出错
、
、
、
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions /* bad signal occurred at this line */ [self.
window
makeKeyAndVisible];} 谢谢
浏览 4
提问于2012-10-26
得票数 0
回答已采纳
2
回答
在使用xcode4创建的iphone上安装应用程序时遇到的问题
、
你好每个人在安装2011-04- 13 :01:37.868 prjTest244 244:207 * -UIWindow setRootViewController::未被识别的选择器发送到实例0x119cd0 2011-04- 13 :01:37.885 prjTest244 244:207终止应用程序时,由于未被确认的异常“NSInvalidArgumentException”,原因是:'** -UIWindow
浏览 6
提问于2011-04-13
得票数 2
回答已采纳
1
回答
我的主视图似乎没有连接到实际屏幕
、
、
#import "JKGAppDelegate.h" //self.
window
initWithFrame: [UIScreen mainScreen]
浏览 0
提问于2013-12-07
得票数 0
回答已采纳
点击加载更多
相关
资讯
图像识别入门 VS2017+Opencv的安装
饥荒mod工具的编译
如何在Dynamo中创建UI
NET Core UI框架Avalonia
一款上班摸鱼神器!还不会被老板发现
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
即时通信 IM
活动推荐
运营活动
广告
关闭
领券