五次按下 iPhone 中的主页按钮并获取当前位置坐标并将此任务发布到 apis 服务器是否可行?
You can't handle home button events in your app : you can only know when it becomes inactive or active using your app delegate methods : applicationWillResignActive
applicationDidEnterBackground
or applicationWillTerminate
Read UIApplicationDelegate protocol reference for further information
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.