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
Post a Comment