使用 iOS 5 SDK,我如何在我的 iOS 应用程序中使用自定义 UIApplication?
我想自定义 UIApplication。所以我有一个子类 UIApplication。我的应用程序没有 MainWindow.nib 文件。那么如何指定我的Custom UIApplication来扮演UIApplication的角色呢?
I wanted to customize UIApplication. So I have a subclassed UIApplication. My Application do not have a MainWindow.nib file. So how can I assign my Custom UIApplication to play the role of UIApplication?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
彼得指出的链接提供的答案解决了我的问题。
在 Main.m 文件中,我可以通过以下方式分配 CustomApplication 和 CustomAppDelegate:
The Answer provided by Link pointed by petert solved my problem.
In the Main.m file I was able to assign the CustomApplication and CustomAppDelegate this way: