Post not yet marked as solved
I was checking one crash in Xcode (Organizer) and I realized that the device iPhone 4 has iOS 14.2.1 (18B121).
Is that possible? Or what iOS device means "iPhone 4"?
Post not yet marked as solved
In the App we saw a 4 seconds loading time while launching the App. Sometimes this time up to 8 seconds but the average time is 4 seconds. What could be the reason?
In the AppDelegate there isn't server calls.
The breakpoint inside the AppDelegate function didFinishLaunchingWithOptions is taking 4 seconds to get in.
I have some api calls but they are launched after the breakpoint in the AppDelegate.
The Api calls responses are working faster.
In Instruments I have some blocked time, is it normal?
Is something wrong in the log?
When I'm trying to load a web page I'm using this part of code:
let myURL = URL(string:"https://www.apple.com")
let myRequest = URLRequest(url: myURL!)
print(Date())/*Start time 11:47:28*/
self.myWV.load(myRequest)
I could see a delay from 1-3 seconds before to show the page even if I change the url. func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
print(Date())/*End time 11:47:30*/
}
That delay is normal?
I tried with both options:
Added a WKWebView in the Storyboard
Added a WKWebView programmatically.