Search code examples
iosipadstoryboardios-universal-app

how to make Universal application, if i have mistakenly deleted MainStoryboard_iPad


I made iOS application first as universal , then some how i deleted MainStoryBoard_iPad because the client said that application required is only for iphone not for ipad. Now client asked me that he wants to run the same app on iPad with 2x button at the right bottom of the screen. Now when i run on iPad it crashes. What are the possible solutions to run the application smoothly on iPad.


Solution

  • If your client want the app to run on the iPad with a 2x button, they do not want a universal app; they want an iPhone app.

    You do this in your project properties. Switch the type from "Universal" to "iPhone". You'll probably also want to remove some of the extra lines in the Info.plist that refer to the iPad version.