iOS - show a popup button when there is no internet connection - ipad

I want to create a function to my app. It's check the iPad internet connection when the app launch and when there is no internet connection it show a popup button. I have follow instruction from: Internet connection unavailable message for iPhone app, but I don't get it how the popup button not showing...? are there any step that I missed..?

Related

Detect the button action in the WebView in iOS swift

how do you know when user clicks the button in the webview iOS swift
when he click the camera button in the remote url provided by backend team asks the permission and upload photo
2)after submit button cliked close the webpage and navigate to native screen
Can you please solve this issue

Return from Safari to IOS application with UIAlertView

I opened a link in safari browser, its a web page for online Payment, I want to do is that when user press cancel button on webPage then it will show alert view in safari and come back to application and when user press ok then it open iOS application again, I do not have any reviews for this. I need help about this.

Can I open ios wifi settings in a prompt dialog like UIAlertController?

Programming with iOS, is it possible to open wifi settings on the device on a prompted dialog ? Like on a UIAlertController ?
Using the following code, I am able to directly land into the wifi settings of the device.
let url:NSURL! = NSURL(string : "prefs:root=WIFI")
UIApplication.sharedApplication().openURL(url)
iOS gives a button at top left corner of screen to get back to my app in one click from the wifi settings page. But I am looking for ways to make this easier for my user. So, is it possible to launch ios wifi settings in a modeless dialog so that user has a feeling of staying within my app while interacting with ios wifi settings from my app ?
Looking for ways to simplify the user experience.

How to check if an SpringBoard alert / Safari browser popup is present?

Is there a way to check from the command-line terminal, if an alert view is shown?
I can ssh onto my iPad and wanted to check whether a basic-auth popup from either springboard or the safari browser is present. Does safari store the state of the alert in a specific plist/file on the device?
I can also run an app as a background service on the iPad, but will it capture the alerts shown in other apps? Can this be done via activator?
We ended up on using a Theos Tweak app and hooking in on show method of UIAlertView

Reopen an app that is in Background when changing to another wifi network

I have an app that needs to connect to another network while it's in background, then when I connect to the new network, reopen the app and open and specific view controller.
I don't have a problem opening the view controller but how can I reopen the app when I select a different network?
What can do so in can listen for the event and open again?
You can keep your app running in background forever, but can't reopen it selecting new network.

Resources