Post

Replies

Boosts

Views

Activity

Get status of Safari App Extension enabled or disabled in Safari 17 for a particular profile
I can check if my Safari app extension is enabled using the SFSafariExtensionManager getStateOfSafariExtensionWithIdentifier API for default. But in case the user disables the extension for his own profile, I want to know if my safari app extension is enabled in that particular safari profile programatically using API. I'm trying this with Safari 17 on macOS 14 Beta. It's possible? If so, what API can do this for me?
1
0
929
Aug ’23
Get status of Safari App Extension in private mode Safari 17
I can check if my Safari app extension is enabled using the SFSafariExtensionManager getStateOfSafariExtensionWithIdentifier API. I can also check if the URL was opened in private mode using the SFSafariPageProperties usesPrivateBrowsing API. But this doesn't solve my problem. I want to know if my Safari app extension is enabled in private mode and I also want to know if the extension allows tracking all websites. I am trying this with Safari 17 on macOS 14 Beta.
1
0
774
Jul ’23
App showing unidentified developer under General - Login Items Added - Allow in the Background
In macOS 13 Ventura, as soon as mac apps gets installed from packages, it shows two alerts (Login Items Added) one as "Unknown Developer" and other as with proper developer name. On click of alerts, it opens System Preferences and navigates to General -> Login Items. It lists our apps under "Allow in the Background", one with "unidentified developer" and other with proper developer name. We followed all steps required with all apps. So why one app showing as "unidentified developer" and other with proper developer name? Also app with correct developer name, missing with its app icon.
4
1
6.4k
Aug ’22
WebView content top-left alignment issue macOS 10.9
Web page contents are at centre if we open web page in WKWebView on macOS 10.10 and above or in web browser. But if we open in WebView on macOS 10.9, contents are getting aligned to top left instead of centre. Any things am I missing? NSURL *url = [[NSBundle mainBundle] URLForResource:@"COMPUTER & MOBILE PANEL" withExtension:@"html"]; NSURLRequest *request = [[NSURLRequest alloc] initWithURL:url]; WebView *aWebView = [[WebView alloc] initWithFrame:webViewContainer.bounds]; [aWebView setFrameLoadDelegate:self]; [webViewContainer addSubview:aWebView]; [[aWebView mainFrame] loadRequest:request]; Sample code here... https://drive.google.com/file/d/1QZkPy9dusBZbG274dOsru9gmK8pYZII-/view?usp=sharing
0
0
477
Feb ’22