iPhone 4 only app? - iphone-4

Is it possible to restrict an app to only run on an iPhone 4? I know you can have an iPad only app. And in iTunes Connect you used to be able to indicate an iPhone only app. But now in iTunes Connect it says that to restrict an app to certain devices one can use the Info.plist. Someone suggested that in the Info.plist if a FrontFacingCamera is required that would restrict it to iPhone 4. Is this the way to restrict an app to run on only on an iPhone 4?

As far as I know you can't do an AppStore restriction. However you can prevent you app from running on non-i4 devices. You can also write so in the app description, saying that you actually need i4 to run this app.
Sorry if I'm wrong.

Right now, you can test the [UIScreen mainScreen].scale property. As of right this moment, only an iPhone 4 will return a "2" in that property.
You could check that out in your AppDelegate and bellyache appropriately if it appears you're running on unders-spec'ed hardware. Just bear in mind that if the next iPad gets a retina display (or the iPod Touch Steve will almost undoubtedly be announcing next week), that property will be "2" for them as well. But maybe that's ok--if you're supporting the iPhone 4 maybe the new iPod Touch should be supported as well? If it's really about the screen density, then you should test the screen density, not whatever else you can find to identify the device.

Related

Apple Rejection App: We also noticed that your app did not run at iPhone resolution when reviewed on iPad running iOS 10.2.1 [duplicate]

I made an iPhone App with Xcode. The devices setting is set to "iPhone". But in iTunes Connect it is rejected because it doesn't run on the iPad.
That is weird because it is an iPhone app, but when I checked it in Xcode, I can run it with the iPad simulator,however I think that normally this is not possible with an iPhone app.
I have added pictures to make my question clearer:
So what is gone wrong and how can I fix it?
EDIT:
Picture from resolution center:
Thanks all, I Found the problem/solution:
In my info.plist there was an extra row called supported interface orientations(iPad) where the portrait mode was added.
I have no idea how this got added here but when I removed it, the problem was solved.
From the Apple iOS App Store Review Guidelines (https://developer.apple.com/app-store/review/guidelines/):
2.10 iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution
Basically, if you set an app to "Universal" it will have iPad and iPhone versions of the UI and will appear in the search results for both. If you set it to iPhone only, it will still be installable on iPads, but it doesn't appear in the search results by default. Additionally when a user does install it on an iPad it will just scale up the UI to best fit the screen. You cannot prevent your app from running on iPads.
Every app can run on the iPad no matter if it is supported or not. The option you have in Xcode is if you want to configure it to look good on the iPad using it's own storyboard. If you configure it for both iPad and iPhone your app fill get a + in the right corner of the price on the App Store and show up on iPad searches. However if you don't configure it to support iPads it'll not show up on searches of the Apple App Store, unless osmose selects iPhone only. You can easily submit your app to the App Store, without it being rejected my friend.
Hope that helps. Keep coding.
Nothing is wrong here , you can do this in debug mode for development purpose. Even you can run it on your iPad device from xCode. Don't worry about it, nothing wrong here.

My app on iPad can't read photo after iOS9.3

My app only support iPhone device, it can run correctly under iOS9.2 on both iphone and iPad. But after updating to iOS9.3 and iOS9.3.1, my app on iPad can't read user's image. (Both ALAsset and PhAsset have the same problem. )
The image will return nil, and I ensure it's a bug, because it can read image correctly, when I change my support device to universal in Xcode.
Is it a bug for iOS? Or it becomes the rule? All app need to support universal ??
What's the fastest way to make myapp support iPad? I just want to use the scaling like the way iPhone app run on iPad.
I have also faced same kind of problem two days ago, I think you need to update your xcode. Update your xcode to the latest version 7.3
It worked in my case.
I met exactly the same problem and I fixed it.
I can't find any quick solution, and I decide to make my app into support universal.
This means support both iPad and iPhone.
The main efforts are the resolution issues. iPhone is 16:9(320x568 for logical resolution) and iPad is 4:3(768x1024 for logical resolution).
To speed up the modification and no change for my art images, so I put my content int the middle on 4:3 screen.
One good thing to support iPad, users can easily search on app store when he use iPad.

App store review guidelines 2.10 - should iPhone app be adjusted to iPad?

I find paragraph 2.10 of App store review guidelines a bit ambiguous. It says : "iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution"
My app is deployment target is iphone and the supposed device orientation is portait
When I tested my app on ipad simulator it looks as follows:
This is just a piece of the view to give you the notion of how it actually look like - the app view does not fit the whole frame of ipad simulator.
The reason why I got my app rejected is completely different, however I don't want to waste another 8 days to see the rejection again because of some weird issue, so that's why I ask. Moreover, do you know if they stop review when they encounter a problem? Or they always undeline all the issues?
My question is: should I do something with this ipad view even if my app's target device is iphone? If yes, what do you suggest me to do?
Thanks in advance
iPad will be able to download your iPhone app and run it, but your app won't be fully compatible with it. iPad users may encounter issues such as bugs and incompatible features.
iPad users will only be able to download your app from the App Store by searching its name and filtering the search results with "iPhone Only". Therefore don't expect full visibility.
Your iPhone app will run successfully on an iPad most of the times but it will be presented with a scaled screen.

Cordova iPhone app appearance on iPad

So I'm working on a Cordova-based app for both iOS and Android. The iOS portion of it is meant to run only on iPhones and iPod Touches.
When I last submitted my app for reviewal, I got this rejection message from them:
2.10: iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution
Thing is, here is what my app looks like in an iPad:
I hunted around for another app that is also running on the iPad at iPhone sizes, and I found FourSquare:
As far as I can tell, they're running at the same resolution.
I did a $(window).width() and .height() call in my app, and I get 320x480, which as far as I can tell is the resolution of the original iPhone.
I found this other SO question here that addresses a similar (I think) problem: 2.10 iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution
But when I check my settings ([project target] > App Icons and Launch Images), "Launch Images Source" is set to LaunchImage, and "Launch Screen File" is blank. (my experience with native iOS settings and storyboards is limited, so I'm not sure if I'm correctly implementing the solution prescribed in the linked SO question).
I also found this other one here: Make an iPhone specific app work on iPad to meet Apple requirements
It talks about editing one's .plist file to remove all references to iPad. I found two entries in mine, 'CFBundleIcons~ipad' and 'Main nib file base name (iPad)', both of which have no values (the value column is empty). Should I remove those? I'd run them to try, but I'm slightly afraid I might explode something beyond repair (plus the time taken to try, submit for review, and wait for Apple to get back to me is infinity+5 seconds, and the project's already behind schedule as is :( ).

can i submit an app without sizing the screens to work on all iDevices?

I've searched far and wide for the answer to this. i haven't been able to find an answer anywhere, so i turned to stack overflow in hopes you would be able to give me an answer. I'm about to submit my first app to the app store. do i have to make the app function on all iDevices (iPad, iPhone 4, iPhone 5, iPod touch, etc.)? or can i just submit my app for one single device and screen size and leave it at that? will they reject it?
i went through this pdf:
http://stadium.weblogsinc.com/engadget/files/app-store-guidelines.pdf
but i never found an answer to my question.
You specify what kind of device family your app will run. You can not limit your app only to (for example) iPhone 4. As far as I know right now if you specify your app running on iPhones it has to support 3.5 and 4 inches screens. So getting exactly to your question: no, you can not leave your app running fine only on one device and screen size. Except the approval process it would probably cost you very low rating on the App Store.
When you build the app, in Xcode you select the device families that the app supports. The choice is currently iPhone, iPad, or both. If you choose iPhone, you'll have to support both the 3.5" and 4" screen sizes. If you used Auto Layout, this should be easy.

Resources