Safe area fix guide for earlier versions of iOS

Safe area layout is introduced in iOS11 but what can we do if we are supporting < iOS 11 and we have a xib view that is initiated in a ViewController and somehow the upper part of the xib view appears behind the NavigationBar??? To fix this, simply add this line in your viewDidLoad. self.edgesForExtendedLayout … Continue reading Safe area fix guide for earlier versions of iOS

Android Threads and updates on Main Thread

While working on the android app, I discovered the following error: Skipped 55 frames!  The application may be doing too much work on its main thread. I realized I was running heavy processing and UI updates on the same thread. A time consuming task (such as fetching data, filtering arrays) should run in its own … Continue reading Android Threads and updates on Main Thread