narcis
1
(macOS and Swift)
I have created a new window with a browser. (outside my app)
@IBAction func txt(_ sender: NSButton) {
NSWorkspace.shared.open(URL(fileURLWithPath: "/Applications/Google Chrome.app"))
}
Is there any way I can give it an address and reload the browser?
(I am quite new. I am just learning)
@narcis Do you still have issues with this?
narcis
3
@shogunkaramazov Yes, I am still with this project. I could do it with AppleScript but it has limitations. I would prefer Swift
system
Closed
4
This topic was automatically closed after 166 days. New replies are no longer allowed.