IOS앱 심사를 넣었는데 평소에 바로 통과되던게 거절되어 돌아왔다.

내용을보니


Apple의 메시지
2. 1 Performance: App Completeness
Guideline 2.1 - Performance - App Completeness
Your app crashed on iPad 9.7 running iOS 11.2 connected to an IPv6 network when we:
1. Launch the app
2. Clicked share button (4th button on bottom menu)
3. App crashes
This occurred when your app was used:
- On Wi-Fi
We have attached detailed crash logs to help troubleshoot this issue.
Next Steps
To resolve this issue, please revise your app and test it on a device to ensure that it runs as expected.
Resources
For information on how to symbolicate and read a crash log, please review Tech Note TN2151 Understanding and Analyzing Application Crash Reports.
Screenshot-1212-130039.png
Add Comment Collap


  였는데 첨부된 이미지에서는 [공유하기 버튼]에 체크표시를 해놓았더라
대략 내용은 ipad에서 정상작동을 안한다는 말같은데..
그래서 시뮬레이터로 ipad에서 공유하기를 눌러보았는데 iphone에서 잘되던 공유하기가 ipad에선 실행이 안되면서 앱이 강제종료되었다.
이전부터 안되던게 이번에야 걸린듯하다...

 원래소스는 이런데

let activityViewController = UIActivityViewController(activityItems: sharingItems, applicationActivities: nil)
self.present(activityViewController, animated: true, completion: nil)



ipad에도 공유하기를 제대로 띄우기위해
let activityViewController = UIActivityViewController(activityItems: sharingItems, applicationActivities: nil)
activityViewController.popoverPresentationController?.sourceView = self.view
self.present(activityViewController, animated: true, completion: nil)

activityViewController.popoverPresentationController?.sourceView = self.view
를 추가하니
ipad에서는 팝오버로 뜨면서 공유하기가 해결되었다.


+ Recent posts