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

Fixing Xcode 9 issue: “iPhone is busy: Preparing debugger support for iPhone”

There are multiple solutions for this: Solution 1: Patiently wait for 10 to 15 minutes. Have a tea or roam around 😉 Solution 2: Disconnect device from the system. Restart both iPhone and Xcode and then rebuild again. Solution 3: Go to Windows → Devices and Simulators (Shortcut key: cmd+shift+2) You’ll see iPhone device connected … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)