There is much talk about all that is new in iOS 7. And while it is fun to geek out over all the new shiny, it is equally important to be aware of what has been deprecated in Apple’s latest iOS release. Staying on top of both the removed and soon-to-be-removed methods will help make sure you don’t get caught with a last minute app rejection.
A few things missing from iOS 7:
UIDevice uniqueIdentifieris probably the most notable of all these. It was deprecated back in iOS 5 but as of iOS 7, it is just flat out gone. Xcode won’t even compile if you try to call it. However, if any existing app on the device does call it, the returned value will no longer be the
MAC Address. This one goes hand in hand with the
uniqueIdentifier. Apple really doesn’t want you getting at any kind of ID that will uniquely identify a device. If you try to get the MAC Address on iOS 7 you will only get back
libsyscall gethostuuidAre you seeing a pattern here? This one is part of Core Bluetooth. Apple is being very loud and clear: if you want any kind of unique ID use
CBCentral UUIDUUIDs are being deprecated in favor of the shiny new NSUUID.
UIViewController wantsFullScreenLayoutIn iOS 7, all view controllers are full screen.
UIColor scrollViewTexturedBackgroundColorand the like are now deprecated.
MapKit has deprecated the entire
MKOverlayViewclass in favor of the new
MKOverlayRenderernow available in iOS 7.
CoreLocation has deprecated
CLRegionin favor of
Be sure to check out the full list of iOS 7 deprecated APIs.
This is the eleventh part in an 11-part Developer’s Guide to iOS 7. You can find the full guide here. For more information on how Double Encore can help you prepare your company for the changes in iOS 7, please email us.