iOS – Change navigation color on iOS

We have two solution we can solve like this. First solution. Set the UIViewControllerBasedStatusBarAppearance to YES in the .plist file. In the viewDidLoad do a [self setNeedsStatusBarAppearanceUpdate]; Add the following method: -(UIStatusBarStyle)preferredStatusBarStyle{ return UIStatusBarStyleLightContent; } Second solution. Set the UIViewControllerBasedStatusBarAppearance to NO in the .plist file. Put the [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; That’s it.

Emacs – Run Daemon on OS X

tell application “Terminal” try — we look for <= 2 because Emacs –daemon seems to always have an entry in visibile-frame-list even if there isn't set frameVisible to do shell script "/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -e '(<= 2 (length (visible-frame-list)))'" if frameVisible is not "t" then — there is a not a visible frame, launch one do shell 소개 더보기 Emacs – Run Daemon on OS X[…]