摘要: [[NSNotificationCenter defaultCenter] postNotificationName:@"postCity" object:pro];[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(cityCallBack:) name:@"postCity" object:nil];- (void)cityCallBack:(NSNotification *)notification{ if (nil != notification.ob 阅读全文
posted @ 2014-01-15 19:55 菜鸟程序猿 阅读(527) 评论(0) 推荐(0)
摘要: [self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:2] animated:YES];或for (UIViewController *controller in self.navigationController.viewControllers) { if ([controller isKindOfClass:[你要跳转到的Controller class]]) { [self.navigationController ... 阅读全文
posted @ 2014-01-15 19:36 菜鸟程序猿 阅读(381) 评论(0) 推荐(0)