-
問題三
Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage
We noticed that your app requests the user’s consent to access their camera and photos but does not clarify the use of this feature in the permission modal alert.
Next Steps
To resolve this issue, please revise the permission modal alert to specify why the app is requesting access to the user's camera and photos.
The permission request alert should specify how your app will use this feature to help users understand why your app is requesting access to their personal data.
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. You may also want to review the Technical Q&A QA1937: Resolving the Privacy-Sensitive Data App Rejection page for details on how to provide a usage description for permission request alerts.
Learn more about Protecting the User’s Privacy.
準則5.1.1 - 法律 - 隱私 - 數(shù)據(jù)收集和存儲
我們注意到您的應用要求用戶同意訪問他們的相機和照片但未明確在權限模式提醒中使用此功能。
下一步
要解決此問題谍夭,請修改權限模式警報捏浊,以指定應用程序請求訪問用戶相機和照片的原因。
權限請求警報應指定您的應用如何使用此功能來幫助用戶了解您的應用請求訪問其個人數(shù)據(jù)的原因。
資源
有關配置和顯示警報的其他信息和說明层亿,請查看iOS人機界面指南的“請求權限”部分和“信息屬性列表”主要參考橡娄。您可能還需要查看技術問答QA1937:解決隱私敏感數(shù)據(jù)應用程序拒絕頁面,以獲取有關如何提供權限請求警報的使用說明的詳細信息鳖敷。
了解有關保護用戶隱私的更多信息脖苏。
解決方法:現(xiàn)在蘋果需要知道請求權限的具體用途,填上就好
-
問題二
ios app審核時遇到ipad不能調(diào)用 UIAlertControllerStyleActionSheet
解決方法:
// 編輯頭像
- (void)editHeader:(UIButton *)btn{
UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"設置頭像" message:@"" preferredStyle:UIAlertControllerStyleActionSheet];
[alert addAction:[UIAlertAction actionWithTitle:@"拍照" style:UIAlertActionStyleDestructive handler:^(UIAlertAction * _Nonnull action) {
if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]) {
[self openImagePicker:UIImagePickerControllerSourceTypeCamera];
}
}]];
[alert addAction:[UIAlertAction actionWithTitle:@"相冊" style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypePhotoLibrary]){
[self openImagePicker:UIImagePickerControllerSourceTypePhotoLibrary];
}
}]];
[alert addAction:[UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleCancel handler:^(UIAlertAction * _Nonnull action) {
}]];
if([DeviceInfo deviceIsPhone]){
[self presentViewController:alert animated:YES completion:nil];
}else{
UIPopoverPresentationController *popPresenter = [alert
popoverPresentationController];
popPresenter.sourceView = btn; // 這就是掛靠的對象
popPresenter.sourceRect = btn.bounds;
[self presentViewController:alert animated:YES completion:nil];
}
}
-
問題一
Guideline 2.1 - Information Needed
We have started the review of your app, but we are not able to continue because we need access to a video that demonstrates your app:
in use on a physical iOS device.
Please ensure the video you provide shows a physical iOS device (not a simulator). Specifically, please demonstrate the background audio feature(s) while the users do not use the app since your app declares support for audio in the UIBackgroundModes key in your Info.plist.
翻譯出來是:
準則2.1 - 需要的信息
我們已開始審核您的應用定踱,但我們無法繼續(xù)棍潘,因為我們需要訪問演示您的應用的視頻:
在物理iOS設備上使用。
請確保您提供的視頻顯示了一個物理iOS設備(不是模擬器)崖媚。具體來說亦歉,請在用戶不使用應用程序時演示背景音頻功能,因為您的應用程序在Info.plist的UIBackgroundModes項中聲明了對音頻的支持畅哑。
分析:蘋果默認app在后臺是只工作三分鐘的肴楷。為了保持app在后臺長期在線。默認在后臺播放一個無聲的音樂荠呐,這種方式比較耗電赛蔫。后臺改用APNS推送喚醒。忘了把UIBackgroundModes勾選調(diào)泥张。
解決方法:把UIBackgroundModes后臺音頻播勾選掉呵恢。