之前都可以 build 的 project, 今天把 device 拿來 run ,會無法build 出現 E
遇到使用 AirWatchSDK,拿到舊的版本是用 Swift 3.1 寫的,官方寫要用 xcode 8.3
class ViewController: UIViewController, UIGestureRecogn
如何判斷 user 是否 idle timeout, 就是在 on touch 裡 reset 掉 time
有參數要傳給 dismiss 的 completion 要怎麼寫? Pretty easy, pass fun
UIAlert 彈 2次會出問題,解法: if presentedViewController == nil
Found a solution here. I’m probably doing it wron
Not quite. In iOS land you have to more explicitly call
You can use the applicationDidBecomeActive(_:) method o