I have a barcode scanning app that only works properly on 3.5 inch iPhone models. What code do I write informing the user that my app works on 3.5 inch phones only?
I don't think you can. You can say it only works on newer models by limiting the CPU instruction set (arm6 vrs 7 vrs 7s), but aside from just putting a message in the description, I don't think you can stop it running on an iPhone 5.
Better question: why doesn't it work on an iPhone 5?
My barcode scanning app only uses a small rectangle on the screen, which is calculated by the phone's resolution and size. I need the phone's resolution to scan the codes. Since I don't have a 4 inch screen to test, I am unable to support those devices.
perhaps you can use testflight to ask some one have iphone5 to test it?
Exactly. Or get a iPod touch. You can query the phone to get the resolution (UIDevice), so the code should be fairly easy....
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies