美文网首页
iOS后台定位

iOS后台定位

作者: 羊妞麻麻 | 来源:发表于2017-11-14 16:40 被阅读46次

    app提审后,失败。内容如下:

    2017年11月4日 上午7:15
    发件人 Apple

    1. 4 Performance: Hardware Compatibility
    2. 1.5 Legal: Privacy - Location Services
      Guideline 2.4.1 - Performance - Hardware Compatibility

    We noticed that your app did not run or display as expected when viewed on iPad running iOS 11.1. Please see attached screenshots for details.

    Next Steps

    To resolve this issue, please revise your app to ensure it runs as expected and displays properly at iPhone resolution on iPad. Even if your app was developed specifically for iPhone, users should still be able to use your app on iPad.

    Resources

    For information on iOS device screen sizes and resolutions, please review the iOS Human Interface Guidelines as well as Points versus Pixels in the View Programming Guide for iOS.

    You may also want to view Size Classes and Core Components for more information about designing apps for multiple screen sizes.

    Guideline 5.1.5 - Legal - Privacy - Location Services

    Your app uses background location services but does not clarify the purpose of its use in the location modal alert as required in the iOS Human Interface Guidelines.

    Please see attached screenshots for details.

    Next Steps

    To resolve this issue, please revise the NSLocationAlwaysUsageDescription value in the Info.plist to specify the intended purpose of using the user's location while the app is in the background.

    Resources

    For additional information and instructions on configuring and presenting an alert, please review the Requesting Permission section of the iOS Human Interface Guidelines and the Information Property List Key Reference.

    其中一个问题是关于
    为了解决这个问题,请修改NSLocationAlwaysUsageDescription价值信息。在应用程序处于后台时,plist指定使用用户位置的预期目的。

    iOS11以后,需要针对iOS后台定位做如下处理:
    https://www.cnblogs.com/reyalPDC/p/6382938.html

    相关文章

      网友评论

          本文标题:iOS后台定位

          本文链接:https://www.haomeiwen.com/subject/cvsfvxtx.html