0

terminateWithSuccess を実装する必要があります。インスタンスに送信されたこのオプションの認識されないセレクターを試しました

AppDelegate *myDelegate = [[[AppDelegate alloc]init]autorelease];
 [myDelegate terminateWithSuccess];

エラーなしで terminateWithSuccess を実装する方法を知っている人はいますか?

本当にありがとうございました。

4

1 に答える 1

1

次のように呼び出します。

[[UIApplication sharedApplication] terminateWithSuccess];

于 2013-07-29T21:26:09.760 に答える