Responding to User Changes
When the user changes the preferred text size, a notification gets posted that the application’s objects can register to listen for. This is the UIContentSizeCategoryDidChangeNotification, and this is a great time to update the user interface.
In BNRDetailViewController.m, register for this notification in initForNewItem: and remove the class as an observer in dealloc.
self.navigationItem.leftBarButtonItem = cancelItem; } // Make sure this is NOT in the if (isNew ) { } block of code NSNotificationCenter *defaultCenter ...
Get iOS Programming: The Big Nerd Ranch Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.