iphone - How to come Ios App to foreground from background -


i working on swift ios app. want phone user connect specific wifi. open iphone wifi settings nsurl this. after app go background , control ssid every 500ms in background background task this. when phone connect specific wifi can see status , stop background task. cant comes app foreground. tried open app use nsurl metod video (i add custom url info.plist , add application function in appdelagate) app has no return use metod.

unfortunately bringing app background foreground not possible. can send notification or badge user click , open app. user should have notifications enabled work.

happy coding!


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -