Notes on the iOS 8 Release Notes

The Address Book UI people picker has been changed for iOS 8. A new mode with new API has been added where the app does not need access to the user’s contacts and the user will not be prompted for access. A temporary copy of the selected person is returned to the app. See ABPeoplePickerNavigationController.h for more details.

In this beta, you have the choice of using either the new mode or the old mode. The old mode will be deprecated in a future iOS 8 Beta, so you should migrate to the new mode as soon as possible.

I like the sound of this. I’ve long been keen on the idea that there could be some sort of easy path for apps to access the address book database via built-in UI. Those alerts prompting for access are so tedious.

Update: Luis Abreu has a great write-up on the full details of this and other privacy changes in iOS 8

The file system layout of app containers has changed on disk. Rather than relying on hard-coded directory structure, use the NSSearchPathForDirectoriesInDomains function or the URLForDirectory:inDomain:appropriateForURL:create:error: method of the NSFileManager class. See Accessing Files and Directories.

Surely people can’t have been hardcoding the path they expected the app to be installed at, can they?!

UILabel has a default value of YES for clipsToBounds. This differs from the normal UIView default of NO.

My understanding has been that turning on clipsToBounds can be expensive. Has the situation improved there, or is the tradeoff worth it (maybe even negligible) for labels? Maybe this is not intended for the final iOS 8 release. Or perhaps I  have entirely the wrong end of the stick in the first place.

Subpixel rendering is now on by default for all web content. Web sites or in-app web views with extremely tight design constraints may render differently. Solutions for each issue will vary, but use Web Inspector to adjust position, border thickness, and width or height of elements.

This could have some interesting consequences.

© Mike Abdullah 2007-2015