Launching Facetime from your app?

强颜欢笑 提交于 2019-11-30 02:59:59

问题


I am seeing that you can launch FaceTime from your app via

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"facetime://tel-number"]];

I am also reading that since there is no officially public FaceTime API apple will reject you.

Does anyone know if this rejection talk is true? PAIR has this feature and they have never been rejected.


回答1:


This is now documented and legal: https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/FacetimeLinks/FacetimeLinks.html#//apple_ref/doc/uid/TP40007899-CH2-SW1




回答2:


My app got rejected for using FaceTime url. This is the part of response i got from Apple in resolution center.

We found the following non-public API/s in your app: Specifically, your app uses the FaceTime URL scheme, which is undocumented.

If you have defined methods in your source code with the same names as the above-mentioned APIs, we suggest altering your method names so that they no longer collide with Apple's private APIs to avoid your application being flagged in future submissions.

It was an update of a previous release. The first version got accepted without any problem. Now the update has been rejected due to the above mentioned reason. Seems i have to publish the app without the FaceTime thingy now.

Edit:

Its now legal to use FaceTime url in third party apps.




回答3:


As a general rule, if you use undocumented API calls and apple catches you, they will reject your application. The reason is because they could change the API call that you are using in new IOS updates and thus would cause your application to crash or not work properly. You can try and submit using the undocumented API and hope that apple lets it through but as i said, you run the risk of Apple changing this api call or removing it completely from the OS in the future.




回答4:


I don't see any reason this would be rejected, especially if there's already an app that uses this functionality. The App Store Review Guidelines are the best way to determine if your app will be rejected, and I don't see anything in there that applies to you situation.

Of course, Apple can do whatever they want, so the only way to be absolutely sure it will be accepted is to submit it, but I highly doubt you will have a problem.



来源:https://stackoverflow.com/questions/13768869/launching-facetime-from-your-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!