applicationDidFinishLaunching 在 iPod touch 设备上未被调用

发布于 2024-11-25 23:26:59 字数 204 浏览 0 评论 0原文

我正在努力将以前的 iPhone 应用程序打造成通用应用程序。现在我在 iPod touch 设备上没有收到任何 applicationDidFinishLaunching 信息。

电话确实是通过我的 iPad 打来的。它也出现在 iPhone 模拟器上。以及在 iPad 模拟器上。我没有 iPhone 设备,所以无法在那里进行测试。

有人遇到过这样的事情吗?

I am working on making what was formerly an iPhone app into a universal app. And now I am not getting any applicationDidFinishLaunching on an iPod touch device.

The call does come on my iPad. It also does come on the iPhone simulator. And on the iPad simulator. I don't have an iPhone device, so I can't test it there.

Has anyone ever run into anything like this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

小瓶盖 2024-12-02 23:26:59

问题是在我的 info.plist 中,我有以下内容:

Main nib base file name (iPad)       MainWindow_iPad  
Main nib base file name (iPhone)     MainWindow_iPhone

That alllooksfineanddandy 。 。 。除了在 iOS 3.2 之前,唯一能识别的键是“Main nib base file name”,它不在我的列表中。所以当我添加这一点时,结果是:

Main nib base file name (iPad)       MainWindow_iPad  
Main nib base file name (iPhone)     MainWindow_iPhone  
Main nib base file name              MainWindow_iPhone  

一切都很好。

我在此处找到了线索。

The problem was that in my info.plist, I had the following:

Main nib base file name (iPad)       MainWindow_iPad  
Main nib base file name (iPhone)     MainWindow_iPhone

That all looks fine and dandy . . . except that before iOS 3.2, the only such key recognized was "Main nib base file name", which was not in my list. So when I added that, ending up with:

Main nib base file name (iPad)       MainWindow_iPad  
Main nib base file name (iPhone)     MainWindow_iPhone  
Main nib base file name              MainWindow_iPhone  

everything worked great.

I found the clue here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文