Get UDID through my iPhone Application in iOS 7.0 [duplicate] - iphone

This question already has answers here:
UIDevice uniqueIdentifier deprecated - What to do now?
(32 answers)
How to get Device UDID in programmatically in iOS7?
(10 answers)
Closed 8 years ago.
I have created the application for getting the UDID few moths ago, its working fine for iOS 6 but iOS 7.0 is not provide, for getting the UDID from the iOS7.0 device i saw some mobileconfig kind of thing will work. But I am not getting right to do this.
thanks in Advance.

See this for an alternative. UDID is now deprecated and will result in rejection.
An alternative to the device UDID - preparing ourselves

UDID is no longer available in iOS 6+ due to security / privacy reasons.
Alternative solution: see this link.

Try This:
[[[UIDevice currentDevice] identifierForVendor] UUIDString];

Related

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?

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

How to Access iPhone Call Log History on iOS5 [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Accessing the iPhone's Call log with the iPhone SDK
I am currently doing an address book application, I want to have a 'Recents' call logs. I am now using Xcode 4.3.3 and developing app in iOS 5.1.0 and 5.1.1.. It seems that call_history.db was not already supported by apple in this version, I see some discussions regarding this matter.
Do you have any knowledge in call history logs where I can apply it in iOS 5?
I think there are no ways of doing it in iOS 5. and your App may get rejected by Apple also.
I think it is impossible in legal way, you can do it by using private framework, but your application will be rejected

How to get imei on iPhone 4S? [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

IMEI number using iphone code [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to get IMEI on iPhone?
how can i get IMEI code from iphone simulator?
You can't. It's not something you can do with the iPhone SDK.
You can get the iPhone/iPod's Unique Device Identifier (UDID), but not the IMEI, Serial or phone number.
As others stated - you cannot get IMEI through public API. If you want to obtain some device identifier to use in your application you must use uniqueIdentifier property defined in UIDevice class - it is there for exactly that purpose.
NSString* uniqueID = [UIDevice currentDevice].uniqueIdentifier;
FYI, you can obtain IMEI using private frameworks - see this question, but your app will be rejected from app store then.
IMEI is an HW code of each phone. You can get phones' IMEI typing: *#06*.
In iPhone simulator there is no IMEI.
I'm not sure that it's possible - besides which, Apple will moan if you publish software which does that on the AppStore...