读书人

摘引navigationController对象

发布时间: 2012-06-26 10:04:13 作者: rapoo

引用navigationController对象

?

@property(nonatomic,readonly,retain) UINavigationController *navigationController; // If this view controller has been pushed onto a navigation controller, return it.?

发现在控制器中就直接有这个对象属性了:

?

[self.navigationController?pushViewController: printView animated:TRUE];

?

[self.navigationController presentModalViewController:self.worldCitiesListNavigationController animated:YES];

?

不知道的东西太多了。

读书人网 >移动开发

热点推荐