Problem with applicationShouldTerminate on iPhone

后端 未结 4 1381
再見小時候
再見小時候 2021-01-24 05:57

I\'m having a problem with applicationShouldTerminate.

What ever I do it seams that has no effect. Any help would be appreciated.

I\'m well versed in programing

4条回答
  •  面向向阳花
    2021-01-24 06:35

    With regards to the applicationShouldTerminate error, in case anyone's curious, NSApplicationTerminateReply and NSApplication seem to be deprecated...even though the OP's method is exactly how it appears in the docs!

    Defining your method as the below should build with no errors:

    -(BOOL)applicationShouldTerminate :(UIApplication *)application
    

提交回复
热议问题