How to get imei on iPhone 4S? [duplicate] - iphone

This question already has answers here:
Finding IMEI number using Objective-C [duplicate]
(5 answers)
Closed 5 years ago.
I need to get imei on iPhones.
I use https://github.com/erica/uidevice-extension/blob/master/UIDevice-IOKitExtensions.m to get IMEI.
It works fine on iphone 4, 3GS ... even with ios5.
But with iPhone 4S, imei is empty. Does somebody have a solution ?
Thank you for your answer

If you have backup of that iPhone in iTunes, you need to
go to Preferences >> Dvices, and the if you hover the
backup you should see not only IMEI number but also
Serial number and Mobile number.
You can check if that IMEI or Serial number are coreckt
on this website: http://sndeep.info/en
Check when your iPhone was activated on this Apple web services:
https://selfsolve.apple.com/agreementWarrantyDynamic.do

You can easily get the IMEI by looking at the SIM card placement slot:
It should be there for the following devices:
iPhone 7
iPhone 7 Plus
iPhone 6s
iPhone 6s Plus
iPhone 3G
iPhone 3GS
iPhone 4 (modello GSM)
iPhone 4s
Source: Apple Official Documentation.

x#06# is used for all phones. İphone 4/4s for on

you can check imei by dialing *#06# thats it

Related

Restrict app for iPhone devices lower than iPhone 5 with iOS 8 or 7 in AppStore

I planned to develop application with targeted devices iPhone 5/5S, iPhone 6/6+ . I don't want my application to be runnable on iPhone 4S. Can i able to achieve that?
I googled some sites , they were mentioned that we can restrict older version mobiles like iPhone 3GS using front camera or other new features.
But in my case iPhone 4S is capable of upgrading OS version upto 8, Is there a way to restrict application for iPhone 4S ?
Need your help!
No there is not. if your app supports iOS8 it must run on all devices which support that OS. iPhone 4S included.

Testing iOS 5 apps without an iOS 5 device

This is a pretty lame question, but still I want to make sure before I shell out cash for an iOS 5 device.
Is there any way to test an app on iOS 5 on a device running iOS 6 or later?
I have an iPad Retina running iOS 6. I am developing an app which will support iPad 1 as well. (iOS 5). I want to test it on a device as well (instead of just relying in the iOS 5 simulator).
Any alternative to borrowing/buying someone's iPad 1? Thanks.
Yes, you can test an iOS 5 App on an iOS 6 device. But, the reverse is false.
I think is not in your interest to buy an iPad 1.
Actually, there is less than 5% user on iOS 5. So, you can set aside this version of iOS.
Have a look here.
And, if you use XCode 5 and you want to keep iOS SDK 6, you can follow my answer here.

Find out which iPhone version [duplicate]

This question already has answers here:
How do I detect which iOS device my user is using?
(3 answers)
Closed 9 years ago.
My app uses the camera and face recognition extensively and I recently found out that it's slow on the iPhone 4.
I know you can find the ios version and what type of device it is.
Is there a way to find out programmatically which iPhone is being used (4/4S/5)?
iOS Version: [[UIDevice currentDevice] systemVersion]
Device Model: How to programmatically differentiate between iphone 4 and iphone 4S? or How do I detect which iOS device my user is using?

How to get the IMEI in iPhone 4S programmatically? [duplicate]

This question already has answers here:
Finding IMEI number using Objective-C [duplicate]
(5 answers)
Closed 5 years ago.
I need to get imei on iPhones.
I use https://github.com/erica/uidevice-extension/blob/master/UIDevice-IOKitExtensions.m to get IMEI.
It works fine on iphone 4, 3GS ... even with ios5.
But with iPhone 4S, imei is empty. Does somebody have a solution ?
Thank you for your answer
If you have backup of that iPhone in iTunes, you need to
go to Preferences >> Dvices, and the if you hover the
backup you should see not only IMEI number but also
Serial number and Mobile number.
You can check if that IMEI or Serial number are coreckt
on this website: http://sndeep.info/en
Check when your iPhone was activated on this Apple web services:
https://selfsolve.apple.com/agreementWarrantyDynamic.do
You can easily get the IMEI by looking at the SIM card placement slot:
It should be there for the following devices:
iPhone 7
iPhone 7 Plus
iPhone 6s
iPhone 6s Plus
iPhone 3G
iPhone 3GS
iPhone 4 (modello GSM)
iPhone 4s
Source: Apple Official Documentation.
x#06# is used for all phones. İphone 4/4s for on
you can check imei by dialing *#06# thats it

Exclude IPhone 3GS from App (Adobe Air) [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Can I restrict my iPhone app from being used by iPhone3G’s?
I have build an application for IOS and it runs fine on IPhone 4 (and above) and all IPads.
Just the 3GS seens to lack power to run it well. Can i exclude the app for these devices?
I have found using UIRequiredDeviceCapabilities and http://developer.apple.com/library/ios/#documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html to limit apps using required Capabilities. But i can not find something to just exclude the 3GS. Does anyone know ?
Add UIRequiredDeviceCapabilities key to info.plist file and front-facing-camera as required value. If I am correct, 3GS doesn't have a front camera. Here is the apple documentation with all possible values. As mentioned by TonyMkenu in comments, check this link for UIRequiredDeviceCapabilities and Device Compatibility Matrix