Post

Replies

Boosts

Views

Activity

Detect a specific System Alert/Popup
Hi, I am working on a app that tries to connect the iPhone to the Wifi network provided the SSID and password. I have used NEHotspotConfiguration and majiority of the times, it works as expected -> the Wifi connection is established. However, sometimes the system shows the following popup (although the SSID and Passwords are valid): I need to detect programmatically (in swift) if the system has presented this specific popup. How can I achieve this? Gone through so many Q/A but failed to get any solutions... Anyone? Thank you.
1
0
937
Jul ’22
Receive Darwin Notification on Cable Connection
I have a project requirement that my iOS App (written in Swift) should get notification when the iPhone gets connected to an Android device/Mac through a cable (e.g. lightning-to-usb). I heard this is possible with Darwin Notification but I've never worked with it before, and seems like there isn't any well-documented article that contains all about Darwin Notification from Apple. Can anyone help me with which notification (status/identifier) of the Darwin Notification Centre to look for to get notified when such wired connection is made between two devices (one being iPhone ofcourse)?
3
0
876
Jun ’22
Detect a specific System Alert/Popup
Hi, I am working on a app that tries to connect the iPhone to the Wifi network provided the SSID and password. I have used NEHotspotConfiguration and majiority of the times, it works as expected -> the Wifi connection is established. However, sometimes the system shows the following popup (although the SSID and Passwords are valid): I need to detect programmatically (in swift) if the system has presented this specific popup. How can I achieve this? Gone through so many Q/A but failed to get any solutions... Anyone? Thank you.
Replies
1
Boosts
0
Views
937
Activity
Jul ’22
Receive Darwin Notification on Cable Connection
I have a project requirement that my iOS App (written in Swift) should get notification when the iPhone gets connected to an Android device/Mac through a cable (e.g. lightning-to-usb). I heard this is possible with Darwin Notification but I've never worked with it before, and seems like there isn't any well-documented article that contains all about Darwin Notification from Apple. Can anyone help me with which notification (status/identifier) of the Darwin Notification Centre to look for to get notified when such wired connection is made between two devices (one being iPhone ofcourse)?
Replies
3
Boosts
0
Views
876
Activity
Jun ’22