Post not yet marked as solved
This is annoying beyond words - for now you can get to Connect by logging in through https://developer.apple.com/ and then choosing AppStore Connect from the menu on the left.
Post not yet marked as solved
Another gotcha to look our for are things in asset catalogues such as colours. i.e.
var mycol = UIColor(named: "mycol")!
will crash because the colour can't be found in whatever context the xib is running. Do this instead:
var mycol = UIColor(named: "mycol", in: Bundle(for: MyView.self), compatibleWith: nil)!
Post not yet marked as solved
We found a solution that will not require drastic changes or javascript. Basically you need to make use of WKURLSchemeHandler protocol:1. Setup webviewlet config = WKWebViewConfiguration()
config.setURLSchemeHandler(self, forURLScheme: "my-custom-scheme")
let wkWebView = WKWebView(frame: .zero, configuration: config)2. Implement WKURLSchemeHandler protocolfunc webView(_ webView: WKWebView, start urlSchemeTask: WKURLSchemeTask) {
if let url = urlSchemeTask.request.url, url.scheme == "my-custom-scheme" {
self.handleTermURLCallback(urlSchemeTask.request)
}
}By using this you'll find that your request httpBody in the callback is not null and you can continue the same way you used to with UIWebView.Just set the URL to be my-custom-schemeYou'll also no longer need to cancel requests in the WKNavigationDelegate that match your url. This actually ends up being a nice improvement over UIWebView!It took a lot of effort to find this but it is working for us and we didn't need to change very much. Hope it helps you guys.
Post not yet marked as solved
We found a solution that will not require drastic changes or javascript. Basically you need to make use of WKURLSchemeHandler protocol:1. Setup webviewlet config = WKWebViewConfiguration()
config.setURLSchemeHandler(self, forURLScheme: "my-custom-scheme")
let wkWebView = WKWebView(frame: .zero, configuration: config)2. Implement WKURLSchemeHandler protocolfunc webView(_ webView: WKWebView, start urlSchemeTask: WKURLSchemeTask) {
if let url = urlSchemeTask.request.url, url.scheme == "my-custom-scheme" {
self.handleTermURLCallback(urlSchemeTask.request)
}
}By using this you'll find that your request httpBody in the callback is not null and you can continue the same way you used to with UIWebView.It took a lot of effort to find this but it is working for us and we didn't need to change very much. Hope it helps you guys.
Got there in the end by using SCNGeometrySource and SCNGeometryElement.Generate verticesGenerate texture coordinatesGenerate indicesSet material (my horizontal, 1px tall gradient)I've made a gist of an SCNNode subclass I made incase it's useful to anyone else.https://gist.github.com/kemalenver/79523e5606f62c5958fcf5e9bedc48a5
Post not yet marked as solved
I filed a bug report via feedback. Let's see what beta 4 brings!