在iOS 7.1之后,如果我们想要通过空中部署我们的企业应用程序,manifest.plist文件的URL 必须是HTTPS.
例如:
itms-services://?action=download-manifest&url=https://example.com/manifest.plist
Run Code Online (Sandbox Code Playgroud)
在我的服务器中,我使用自签名SSL证书.当我点击iPhone上的URL时,它会显示Could not connect to <ip-address>并记录典型的
NSUnderlyingError=0x15d37040 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be `<ip-address>`, which could put your confidential information at risk.
Run Code Online (Sandbox Code Playgroud)
所以,我想知道我是否可以使用自签名SSL证书?
如果可以,我如何解决我遇到的问题?
我正在写一个iOS应用程序.在我的应用程序中,我想将一些文件从一个文件夹复制到另一个文件夹.但由于某些文件太大,完成复制需要很长时间.所以我想添加一个进度条来显示副本的百分比.但我发现文件管理器没有回调方法来获取百分比.有没有人有这个好的解决方案?