Application for only specific iPhone [duplicate] - ios

This question already has answers here:
Restrict to certain iOS target devices for App Store submission
(4 answers)
Closed 5 years ago.
Is is possible to write an iOS application available for only one or some specific Apple devices? If yes, is it risky and can be rejected by App Store Review? I can check if the device is something but I want my app to unavailable to other devices on App Store.

It is possible to target specific models, so that the app will be available only to those machines. How that affects the review process, I have no idea.

Related

How can I restrict my app for iPhone 7 Plus only? [duplicate]

This question already has answers here:
Restrict to certain iOS target devices for App Store submission
(4 answers)
Closed 6 years ago.
Is there anyway I can put a check so my app does not appear on App Store if the user is not using iPhone 7 Plus or in other words device with dual cameras?
Such check exists for iPhone and iPad, or arm64 only but I do not think so Apple has provided us with any such restriction that this device will be available for iPhone 7 Plus devices or devices with dual camera only.
UIRequiredDeviceCapabilities do exist but there is no key for dual camera/7Plus.
So I am looking for something like TouchID or OpenGL check which can be alternative.
Now this question specifically targeted to dual camera check which arose after iPhone 7 Plus.
UIRequiredDeviceCapabilities (Array or Dictionary - iOS) lets iTunes and the App Store know which device-related features an app requires in order to run. iTunes and the mobile App Store use this list to prevent customers from installing apps on a device that does not support the listed capabilities. Refer apple document link

Exclude iPad support from existing app [duplicate]

This question already has answers here:
Switch universal app to iPhone only app
(2 answers)
Closed 6 years ago.
I have found multiple exiting questions on this but have different scenario's
My app have separate view for iPhone and iPad but now my client want to remove iPad support for next 1year, I am thinking about the consequences
1) If I remove deployment target from Universal to iPhone? My app still run on iPad when upload to apple store and if run it will display 2x of iPhone screen or my iPad specific views?
2) Existing app in apple store is universal if i change it to iPhone only does apple have some restriction on that too while uploading new binary?
The only way to do it is to add some Required Device capabilities which iPad doesn't have. e.g., If you add telephony or sms to the Required Device capabilities in Info.plist of the app, apple will automatically make the app available only for iPhone. As suggested in here.

Is there any way to completely turn off an ios device programmatically in xcode? [duplicate]

This question already has an answer here:
How to power iOS device off [duplicate]
(1 answer)
Closed 7 years ago.
I want to make an application that would turn off an iphone at a set time every night;
Absolutely not! (Unless we are talking about a jailbroken app.)
Apple has a very strict sandboxing approach for third party apps. To access the system, you have to use the provided iOS APIs and none of them offers this kind of control.

How to remotely distribute an iOS app for testing without App Store? [duplicate]

This question already has answers here:
How do you beta test an iphone app?
(9 answers)
Closed 7 years ago.
I am building an iOS app and it is still in early stage for testing. My QA actually lives in another state and I can't install my app to his iOS device with physically connected option.
Is there a way that I can send the iOS app package to my QA and he can install it somehow in his physical device? Also, this app is still in early testing phase so I don't think we are ready for app store approval.
Start by reading Beta Testing iOS Apps. What you're after is Ad Hoc Distribution, and there's been plenty written and asked about it. In addition to the tools that Apple provides, including TestFlight, you might also take a look at HockeyApp.

Is it possible to read/access SMS through an iOS application (> ios7) [duplicate]

This question already has answers here:
iPhone application – reading SMS
(3 answers)
Closed 7 years ago.
In a non jail broken iphone is it possible to access/read sms from an iphone application.
I have read that in case of an Android phone this thing is possible, as i need to develop an ios app which can automatically read an OTP sent through an sms to a user.
Since iOS application is sandboxed, i just want to confirm the possibility to do it legally.
No.... it's not possible in iOS because it's privacy issue.

Resources