开发者

How can I convert a Universal iOS app to a stand-alone iPhone app?

开发者 https://www.devze.com 2023-01-11 17:44 出处:网络
I started building a Universal app and it turned out the design doesn\'t work well with the iPad, so I\'ve decided to make it a stand-alone iPhone app instead.By that, I mean I\'d like the app store t

I started building a Universal app and it turned out the design doesn't work well with the iPad, so I've decided to make it a stand-alone iPhone app instead. By that, I mean I'd like the app store to see my app as an iPhone app, not a Universal app. I was just about to create a new project and move my existing iPhone code over to it and it's a ton of work because I had existing Core Data stores and other files that require some labor.

Is that the route I should take or is it easy to convert my existing Universal app to a stand alone iPhone app? If it's easier to convert it, what do I need to do?

I was exploring the Build settings of my project (I don't know what most of them mean), but I see the "Targeted Device Family" setting. Am I fortunate enough that I could simply set this to "iPhone" and that's the end of it?

Thanks in advance for your help! I'm going to continue looking into this now...

UPDATE: I found that all I ne开发者_开发问答eded to do was set the "Targeted Device Family" build setting to "iPhone". Seems to be working fine so far.


I believe that ends up setting the UIDeviceFamily key in Info.plist, which should be what the App Store looks at. You might still have a bunch of iPad resources floating around, but I wouldn't worry too much about that.

0

精彩评论

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