Use Hbuilder to develop iOS app shelves audit Tips Specify the intended use of the location in the location licensing mode alert for the user.

Source: Internet
Author: User

When you use Hbuilder to develop iOS apps, you are denied the reason why the app was rejected:

Your application uses location services, but does not follow the requirements in the iOS HMI Guide to clarify its purpose in the location mode alert.

To resolve this issue, specify the intended use of the location in the location licensing mode alert for the user.

Find solutions in the official community view of Hbuilder.

For a description of the problem, in the Manifest.json file, under Plus->distribute->apple, add the Plistcmds node.

"plistcmds":[    "Set :NSCameraUsageDescription 拍照/摄像/扫描二维码", "Set :NSMicrophoneUsageDescription 录制音频文件/语音识别", "Set :NSPhotoLibraryUsageDescription 选择/保存图片", "Set :NSLocationWhenInUseUsageDescription 获取位置信息"]

Use Hbuilder to develop iOS app shelves audit Tips Specify the intended use of the location in the location licensing mode alert for the user.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.