编程那点事编程那点事

专注编程入门及提高
探究程序员职业规划之道!

iOS开发

Xcode Playground创建入口在哪?
iOS开发

Xcode Playground创建入口在哪?

阅读(628)

最近再做医药商城的app,就学习了下iOS的开发,我用的Xcode版本是13.2.1,发现在Xcode的启动界面没有了“Get started with a Playground”选项了,具体如下图所示: 稍作研究,发现Playground的入口如下: File -> New -> Playground 快捷键是:shift+option+command

The resource could not be loaded because the App Transport Security policy requires the use of a sec
iOS开发

The resource could not be loaded because the App Transport Security policy requires the use of a sec

阅读(3356)

用AFNetworking请求时,报错,具体如下:Error Domain=NSURLErrorDomain Code=-1022 "The resource could not be loaded because the App Transport Security policy requires the use of a secure connection." 意思是:资源不能被加载,因为该应用程序传输的安全策略要求使用安全连接新特性要求App内访问的网络必须使用HTTPS...