ios - UIBackgroundModes with the location value,then app rejected -
my app includes uibackgroundmodes
key (with location value) in info.plist
file. app rejected apple.
apple's reason rejection:
"we noticed app declares support location in uibackgroundmodes key in info.plist not include features require persistent location. appropriate add features require persistent use of real-time location updates while app in background or remove "location" setting uibackgroundmodes key. if application not require persistent, real-time location updates, recommend using significant-change location service or region monitoring location service. "
reason using it:
my app uses either significant-change location service or standard location service,because app available both iphone , ipod touch. if significant-change location service not available, app use standard location service.
questions:
- when app run on background,that app whether need add
uibackgroundmodes
key (with location value) ininfo.plist
file or not? - if not include,app can location standard location service? thanks.
yes user2082720, have make sure why use location service in background mode.
please include following battery use disclaimer in application description:
"continued use of gps running in background can dramatically decrease battery life."
example:- in case of location service background needed when using "geofencing" time have use location service in background.
Comments
Post a Comment