Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

please help me with this IOS view problem

so when is submitted my app i got rejection " We noticed that your app did not run at iPhone resolution when reviewed on iPad running iOS 9.2.1, which is a violation of the App Store Review Guidelines. " and this was supposed a iPhone app. and i talked to apple and it says that i Have to make it wok on iPad but i have no idea how to fix it ( supposedly when the app is run on iPad it gets cut out)

ps. is there any chance i can create a iPad story board so when the app runs on iPad it switches to that story board if that is so how can i do that?

Keli'i Martin
Keli'i Martin
8,227 Points

Is your app specifically an iPhone app or is it a Universal app?

iPhone

1 Answer

Keli'i Martin
Keli'i Martin
8,227 Points

So this is what the App Store Review Guidelines say: "iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution"

That second part is probably what is getting your app rejected. iPhone 3GS resolution is really small compared to what is typically the norm with iPhones these days. Are you using Size Classes and Auto Layout?

One thing you could do is make your app a Universal app. That way, if it happens to get run on an iPad, it will use the full resolution of the iPad on which it is run. That will, of course, open up a whole new set of devices that you need to make sure your design works on, so that could be a lot more work.

Another thing you could do, if you didn't want to make the app Universal, would be to use the Simulated Metrics settings (those would be at the top of the Attributes Inspector if you have the ViewController selected in Interface Builder). Set the Size to "iPhone 3.5-inch", and then make sure your design fits in that little space. Unfortunately, even with size classes, there isn't a way (that I know of, anyway) to make something fit specifically on that small of an iPhone screen without affecting all iPhone specific layouts.

I hope that helps.