2 개의보기 컨트롤러가 있습니다. FirstViewController
및 SecondViewController
. 두 번째는 두 알림을 듣고 presentViewController...
경고 : 프레젠테이션 또는 취소가 진행되는 동안보기 컨트롤러 (UINavigationController)에서 닫으려고 시도합니다.
를 통해 제공됩니다 : 기각
- (void)facebookUpdated:(NSNotification *)notification {
if (![[FacebookHelper sharedInstance] isLoggedIn]) {
// The user decided not to log in
[self dismissViewControllerAnimated:YES completion:^{
}];
}
}
SecondViewController
SecondViewController.m
FirstViewController.m
- (void)facebookUpdated:(NSNotification *)notification {
if (![[FacebookHelper sharedInstance] isLoggedIn]) {
[self.addReminderTableView reloadSections:[NSIndexSet indexSetWithIndexesInRange:NSMakeRange(1, 2)] withRowAnimation:UITableViewRowAnimationFade];
}
}
및 에있는 테이블 FirstViewController
이 다시로드되었습니다. 프리젠 테이션 또는 해고가 진행 동안 뷰 컨트롤러 에서 기각 시도 :하지만 내가
경고를 좋아하지 않는이 경고를 받고 있어요!
그리고 왜 나는 그것을 얻고 있는지 잘 모르겠습니다. 진행중인 다른 해고가 없다고 확신합니다. 진행중인 프리젠 테이션이 무엇을 의미하는지 모르겠습니다.