通常,我的事件處理髮生在UIViewController中,所以我用下面的代碼行: [self.navigationController pushViewController:viewController animated:YES];
從UIView將UIViewController推到UINavigationController上?
然而,現在我的事件處理程序是在UIView的。 具體而言,我使用- (void) touchesEnded:(NSSet*)touches withEvent:(UIEvent*)event
所以從我的touchesEnded委託,我怎麼推一個UIViewController到 的UINavigationController從一個UIView那是的UIViewController的一個子視圖裏面提到。