简体   繁体   中英

why My ios app is Background App refresh

I am new to iOS development. I am using location services to get the user location in my app. When I stop updating the location, my app still appaears in in that Background App refresh list. How can i disable it programatically?

thank you

You do not want background App Refresh on your app?

Open your XCode Project -> Select your project -> Select Your App Target -> Under Capabilities -> Untick Background Fetch for Background Modes .

在此处输入图片说明

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM