开发者

applicationDidFinishLaunching not getting called on iPod touch device

开发者 https://www.devze.com 2023-03-22 07:19 出处:网络
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.

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 co开发者_运维技巧me 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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消