back to previous event

Objective-C(5.0+)
- (void)willMoveToParentViewController:(UIViewController *)parent;

Android
onBackPressed();

如果要在預設的back傳值或觸發其他事件,可override上述event

沒有留言: