Instance Property

title

A localized string that represents the view this controller manages.

Declaration

@property(nonatomic, copy) NSString *title;

Discussion

Set the title to a human-readable string that describes the view. If the view controller has a valid navigation item or tab-bar item, assigning a value to this property updates the title text of those objects.

See Also

Managing the View

view

The view that the controller manages.

viewLoaded

A Boolean value indicating whether the view is currently loaded into memory.

loadView

Creates the view that the controller manages.

viewDidLoad

Called after the controller'€™s view is loaded into memory.

loadViewIfNeeded

Loads the view controller’s view if it has not yet been loaded.

viewIfLoaded

The view controller’s view, or nil if the view is not yet loaded.

preferredContentSize

The preferred size for the view controller’s view.