Detect if iOS app is in foreground from WatchKit extension -


since + openparentapplication:reply: opens ios app in background, there way detect if app has been opened user , adapt extension's behaviour accordingly?

edit: also, how mechanism work notifies extension once app's status changes?

you check [[uiapplication sharedapplication] applicationstate] , send in reply indicates how you're running.


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -