问题标签 [xcode9.2]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
ios - iOS 11.2 beta 发布,但没有对应的 Xcode beta
我刚刚安装了 iOS 11.2 Beta 并下载了最新的 Xcode(即 9.1 - beta 2. 9B46)。
但是当我尝试在设备上运行该应用程序时,它说它没有必要的支持文件。
那么如果还没有相应的 Xcode,我应该如何使用 11.2 beta 进行开发呢?
swift4 - Xcode 9.2 和 Swift 4 中的 AppKit 的 IBDesignable 是否损坏?
大多数与此相关的问题和答案都基于旧版本的 Xcode 和 Swift。此外,90% 的问题与 UIKit 和绘制自定义控件有关。
我正在添加一个标准按钮,它位于自定义控件的中心,用IBDesignable
.
我向应用程序添加了一个自定义视图,并将 Identity Inspector 中的类属性设置为我的自定义类 ( ButtonPresetView
)。
它应该显示以画布为中心的按钮,但画布是空白的。不确定有多少人以这种方式使用它,但它在 Xcode 8.3 中与 Swift 3 完美配合。
还有其他人有这个问题吗?
swift - 如何使用 Swift 制作具有 iPhone X 安全区域约束的 Webkit webView?
*看上面的图片链接,支持从iOS9到iOS11
以下是工作代码解决方案:
我正在分享包含此项目的链接: https ://github.com/kiril6/iPhoneX-webkitWebView
ios - Disable App Transport Security in Xcode 9.2?
I cannot disable App Transport Security (ATS) in Xcode 9.2. I have been (for years) disabling ATS when running builds against my local server environment like so:
Transport security has blocked a cleartext HTTP
In Xcode 9.2, a simple request (running against a local Rails app in http mode):
fails with the error message
Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={_kCFStreamErrorCodeKey=-9802, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x60c00024afb0 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, _kCFNetworkCFStreamSSLErrorOriginalValue=-9802, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9802}}, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://store.dev/api/products.json, NSErrorFailingURLStringKey=https://store.dev/api/products.json, _kCFStreamErrorDomainKey=3}
This exact same request (same project as well) succeeds on Xcode 9.1.
In both cases, I'm building against a iOS 11.1 deployment target. You can see that Xcode is changing the url from http to https, which I do not want.
Here is a link to the super basic project that works in Xcode 9.1 but fails in 9.2 (https://github.com/chrismanderson/ats-sample).
I've also tried disabling ATS just for the local store.dev
domain, and again, it works on Xcode 9.1 but not 9.2.
uitextfield - UITextField 在 Xcode9.2 和 iOS11.2 中无法发布
只创建一个 UITextField 的实例,并且该实例永远不会释放。</p>
xcode9.2 - XCODE 9.2 插入和超链接
我是 Xcode 的新手并下载了最新的 9.2 版本,我试图在按钮中插入指向 Web 的链接但无法正常工作。这是代码。 链接不起作用
}
当您按下 Guorlin Premium 按钮时,它会将您带到一个网站
现在,当我按下 Guorlin Premium 按钮不起作用时,它不会将我带到网站。