寫部落格才潮?!
2017年2月6日 星期一
iOS tips - Run app from cold start
最近測試從外部的URL來開啟app,但卻不太明白要怎麼測試app not running狀態下的情況。Stakeoverflow後找到了Xcode設定的方法
首先點選目前Target的圖示,再點選Edit scheme
找到Run section的radio button,把
"Automatically"
改成
"Wait for execution to be launched"
。
這樣compile完之後就不會自動開啟,會等到手動開啟app,或從外部link開啟app才會執行debugging了。
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言