我想給UIBarButton設置一個後退按鈕,但是IBAction不執行,不知道哪裡出錯了,請高手指教。
-(IBAction)back:(id)sender {
// Tell the controller to go back
[self.navigationController popViewControllerAnimated:YES];
}
使用 transitionFromView:toView:duration:options:completion:
,像FromView帶有完整transpatent view的方法和像toViewa的lertView