I have a Safari app extension that needs to know the url of the current active tab. When I press a button, a function in SafariExtensionViewController gets called with the following code:
let safari = SFSafariPageProperties()
let currentURL = safari.url
But currentURL is nil. Not sure what I'm doing wrong? The extension is for mac. Safari 14, macOS 11.1
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I've been going through the documentation. I can't seem to find the docs that cover all the new AI features.
Topic:
Machine Learning & AI
SubTopic:
Apple Intelligence