14. /*
If this view controller is a child of a containing view controller
(e.g. a navigation controller or tab bar controller,)
this is the containing view controller.
Note that as of 5.0 this no longer will return the
presenting view controller.
*/
@property(nonatomic,readonly) UIViewController *parentViewController;
// This property has been replaced by presentedViewController.
// It will be DEPRECATED, plan accordingly.
@property(nonatomic,readonly) UIViewController *modalViewController;
// The view controller that was presented
// by this view controller or its nearest ancestor.
@property(nonatomic,readonly) UIViewController *presentedViewController
__OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_5_0);
// The view controller that presented
// this view controller (or its farthest ancestor.)
@property(nonatomic,readonly) UIViewController *presentingViewController
__OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_5_0);