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.
有什么方法可以让 iOS 应用程序在调试模式下开始在后台运行?
我的意思是,当您按下 Cmd+R - 应用程序将运行,但您仍需要点击设备上的应用程序图标才能打开应用程序。
是的。在顶部的 Xcode 中单击您的应用程序名称,然后单击编辑方案...然后单击左侧的运行,然后单击选项选项卡,一半会显示背景提取,检查。然后,当您运行您的应用程序时,它将在后台启动。
编辑方案