Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
戻るボタンをに設定しようとしていますがUIBarButton、IBAction正しく機能していません。何が悪かったのかわかりません。誰でも教えてもらえますか?
UIBarButton
IBAction
-(IBAction)back:(id)sender { // Tell the controller to go back [self.navigationController popViewControllerAnimated:YES]; }
back Method をこれに置き換えるだけです:
-(IBAction)back:(id)sender { // Tell the controller to go back [self dismissModalViewControllerAnimated:YES]; }
あなたの問題が解決されることを願っています。
楽しみ ...!!!