Post

Replies

Boosts

Views

Activity

Reply to VPN Client Not Working With MacOS 13
Now it is working on my device (the device on which I developed it) but does not work on any other device. I have added the Provisioning UDID of the devices on which I want to test it to my developer account, the application launches on those devices but connection functionality does not work. Is there something else related to Network Extension that should be taken care of?
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’23
Reply to Dismissing AlertController When Pushed To Next ViewController
So, basically what I'm doing is, simply pushing to second view controller like below: @IBAction func showAlertButtonTapped(_ sender: UIButton) {      _ = AlertUtil.sharedInstance.showAlertView(message: "This is an alert message.", actionTitles: ["OK"], actions: nil)             let storyboard = UIStoryboard(name: "Main", bundle: nil)      let viewController = storyboard.instantiateViewController(withIdentifier: "SecondViewController") as! SecondViewController       navigationController?.pushViewController(viewController, animated: true)    } What I want is to write a common code in my showAlertView function, so that, whenever I navigate to another view controller the alert should be dismissed.
Topic: UI Frameworks SubTopic: UIKit Tags:
Dec ’22
Reply to Two Factor Authentication with Network Extension
Hi Eskimo, Thanks for your quick response. But I'm trying to hold the tunnel after starting it. Basically what happens is I start the tunnel, it tries to authenticate the server but a challenge is returned from server asking for OTP, this is the point at which I want the tunnel/session to wait for re-authentication. FYI, I'm working with Packet Tunnel and my target platform is iOS. Regards, Ganaraj Savant
Aug ’22
Reply to VPN Client Not Working With MacOS 13
Now it is working on my device (the device on which I developed it) but does not work on any other device. I have added the Provisioning UDID of the devices on which I want to test it to my developer account, the application launches on those devices but connection functionality does not work. Is there something else related to Network Extension that should be taken care of?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’23
Reply to Dismissing AlertController When Pushed To Next ViewController
Okay, got it. Thanks! Just wanted to know whether it is a good practice to present alert using rootViewController or not?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to Dismissing AlertController When Pushed To Next ViewController
So, basically what I'm doing is, simply pushing to second view controller like below: @IBAction func showAlertButtonTapped(_ sender: UIButton) {      _ = AlertUtil.sharedInstance.showAlertView(message: "This is an alert message.", actionTitles: ["OK"], actions: nil)             let storyboard = UIStoryboard(name: "Main", bundle: nil)      let viewController = storyboard.instantiateViewController(withIdentifier: "SecondViewController") as! SecondViewController       navigationController?.pushViewController(viewController, animated: true)    } What I want is to write a common code in my showAlertView function, so that, whenever I navigate to another view controller the alert should be dismissed.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to Accessing files in app bundle from a third party framework in macOS
In case of iOS, I get the path as: /private/var/containers/Bundle/Application/9852778D-2538-4F86-A705-F7916481DB2F/Sample.app/ssl.pem and for macOS, the path is: /Users/Name/Library/Developer/Xcode/DerivedData/TunnelKit-gbhxytmxhmfhnqflnzpfubtwfnvt/Build/Products/Debug/Sample.app/Contents/Resources/ssl.pem Can framework inside my app access Users/Name?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to Keeping TCP connection alive when app enters background
Got it, thanks!
Replies
Boosts
Views
Activity
Nov ’22
Reply to Two Factor Authentication with Network Extension
Got it, thanks!
Replies
Boosts
Views
Activity
Aug ’22
Reply to Two Factor Authentication with Network Extension
Hi Eskimo, Thanks for your constant support, I'm almost there. Everything seems to be working fine till handleAppMessage(_:completionHandler:) method to learn about the messages from the app. Actually, I get updated credentials from the app. Now, how do I update it to the server so that it re-authenticates and a connection is established?
Replies
Boosts
Views
Activity
Aug ’22
Reply to Two Factor Authentication with Network Extension
Okay, got it, my bad. But, is there any way to show UI before returning from startTunnel(options:)?
Replies
Boosts
Views
Activity
Aug ’22
Reply to Two Factor Authentication with Network Extension
Yeah, I get the challenge during the initial tunnel bring up. That is after TLS handshake, where we usually get the "AUTH_FAILED" message.
Replies
Boosts
Views
Activity
Aug ’22
Reply to Two Factor Authentication with Network Extension
Hi Eskimo, Thanks for your quick response. But I'm trying to hold the tunnel after starting it. Basically what happens is I start the tunnel, it tries to authenticate the server but a challenge is returned from server asking for OTP, this is the point at which I want the tunnel/session to wait for re-authentication. FYI, I'm working with Packet Tunnel and my target platform is iOS. Regards, Ganaraj Savant
Replies
Boosts
Views
Activity
Aug ’22