该文被密码保护。 阅读全文
posted @ 2012-09-12 22:23 不曾拥有 阅读(2) 评论(0) 推荐(0)
摘要: 定义两个controllerFirstViewController SecondViewController分别为各自定义一个方法 比如 -(void)first;-(void)second;在RootViewController中 定义一个属性@property(nonatomic,retain)UIViewController *currentViewController@synthesize currentViewController;用来存放当前的congtroller的实例 由于我门并不知道 当前是哪一个controller的实例 所以对该属性的定义只能是 通类 UIViewCo.. 阅读全文
posted @ 2012-09-12 22:20 不曾拥有 阅读(287) 评论(0) 推荐(0)