I've created app that connects iPhone to VPN(IKEv2) server. When I'm trying to connect to VPN first time it requires user permission in modal alert. Is there any way to change text of this modal alert? Didn't find any code in swift doing so. Info.plist keys, also don't contain something to do it. Is it possible? Moreover, I'm getting my app rejected by Apple App Review, because I don't properly explain to user why my app asks permission (I have privacy policy and terms of use in app, also I explain data collection in my app's description.).
Apple Review team:
We noticed that your app requests the user’s consent to access their VPN but does not clarify the use of this feature in the permission modal alert.
Please see attached screenshot for details.
UPD:
I've got answer for my appeal and now waiting for call.
Answer:
Hello,
Thank you for your response. Your call with an Apple Representative is confirmed.
An Apple Representative will call you on the number provided within the next 3 to 5 business days from today to discuss your app.
Best regards,
App Store Review
Okay, I've got call from Apple and they said:
It is new requirement for VPN apps to explain how does they collect user data in permission modal alert, but Swift wasn't updated to do so. That is why you have to show information about data collection in view where you will show prompt or show your custom modal alert.
I've added my own alert that forces user to agree with privacy policy and get approved.