CredStore Perform Query error

This error occurs when trying to retrieve an URLCredential from URLCredentialStorage for an unknown URLProtectionSpace. e.g. let protectionSpace = URLProtectionSpace.init(host: host, port: port, protocol: “http”, realm: nil, authenticationMethod: nil) var credential: URLCredential? = URLCredentialStorage.shared.defaultCredential(for: protectionSpace) produces CredStore – performQuery – Error copying matching creds. Error=-25300, query={ class = inet; “m_Limit” = “m_LimitAll”; ptcl = http; … Read more

Seeing black bars at the top and bottom of the iPhone X Simulator

When using launch images (instead of the much easier Launch screen file), you need to provide the properly sized launch image for each device size you wish to support. Once you add the additional launch image, your app should take advantage of the new screen size. The new iPhone X requires a launch image sized … Read more

Safe Area of Xcode 9

Safe Area is a layout guide (Safe Area Layout Guide). The layout guide representing the portion of your view that is unobscured by bars and other content. In iOS 11+, Apple is deprecating the top and bottom layout guides and replacing them with a single safe area layout guide. When the view is visible onscreen, … Read more