Post

Replies

Boosts

Views

Activity

Reply to Deploying iOS App with Web Content Filter
In some Parental Control, apps ask to download the profile. After downloading and installing the profile filter works. MDM profile is downloaded. I've Entity Type - Company / Organization account. My query is I want to achieve something like this, What are the requirements? Is Company / Organization account enough to create MDM profile and server? How Do I communicate between My device to MDM Server? How Do I enroll My device to MDM Server?
Topic: App & System Services SubTopic: Core OS Tags:
May ’22
Reply to How to implement Content Filter in macOS
This is FilterDataProvider class. I tried https://www.vimeo.com & vimeo.com This is the URL of demo. https://github.com/anismansuri63/MacFilter class FilterDataProvider: NEFilterDataProvider {   override func startFilter(completionHandler: @escaping (Error?) -> Void) {     let exampleRule = NENetworkRule(       remoteNetwork: NWHostEndpoint(hostname: "https://www.vimeo.com/", port: "0"),       remotePrefix: 0,       localNetwork: nil,       localPrefix: 0,       protocol: .TCP,       direction: .any     )     let filterRule = NEFilterRule(networkRule: exampleRule, action: .drop)     let filterSettings = NEFilterSettings(rules: [filterRule], defaultAction: .drop)     apply(filterSettings) { error in       if let applyError = error {         os_log("Failed to apply filter settings: %@", applyError.localizedDescription)       }       completionHandler(error)     }   }   override func stopFilter(with reason: NEProviderStopReason, completionHandler: @escaping () -> Void) {     completionHandler()   }   override func handleNewFlow(_ flow: NEFilterFlow) -> NEFilterNewFlowVerdict {     return .drop()   } }
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’22
Reply to Cannot Access NSUserDefaults in App Group on Device
Did anyone find any solution? same error. xcode 13.2 trying to use UserDefault in Network extension. [User Defaults] Couldn't read values in CFPrefsPlistSource<0x280084580> (Domain: group.appgroup, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
Topic: App & System Services SubTopic: General Tags:
Mar ’22
Reply to Open parent app from ShieldAction extension in iOS
https://apps.apple.com/us/app/app-lock/id6448239603 & https://apps.apple.com/us/app/applocker-passcode-lock-apps/id1132845904 These apps are somehow doing, opening the parent app Shield Action. Is there any way to do so? also when I lock app and click on app, Shield Config UI is not coming, default UI is coming.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to SFContentBlockerManager reloadContentBlocker crash on macOS 10.15.7 in Catalyst application
Did you find any solution?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to Deploying iOS App with Web Content Filter
In some Parental Control, apps ask to download the profile. After downloading and installing the profile filter works. MDM profile is downloaded. I've Entity Type - Company / Organization account. My query is I want to achieve something like this, What are the requirements? Is Company / Organization account enough to create MDM profile and server? How Do I communicate between My device to MDM Server? How Do I enroll My device to MDM Server?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to How to implement Content Filter in macOS
This is FilterDataProvider class. I tried https://www.vimeo.com & vimeo.com This is the URL of demo. https://github.com/anismansuri63/MacFilter class FilterDataProvider: NEFilterDataProvider {   override func startFilter(completionHandler: @escaping (Error?) -> Void) {     let exampleRule = NENetworkRule(       remoteNetwork: NWHostEndpoint(hostname: "https://www.vimeo.com/", port: "0"),       remotePrefix: 0,       localNetwork: nil,       localPrefix: 0,       protocol: .TCP,       direction: .any     )     let filterRule = NEFilterRule(networkRule: exampleRule, action: .drop)     let filterSettings = NEFilterSettings(rules: [filterRule], defaultAction: .drop)     apply(filterSettings) { error in       if let applyError = error {         os_log("Failed to apply filter settings: %@", applyError.localizedDescription)       }       completionHandler(error)     }   }   override func stopFilter(with reason: NEProviderStopReason, completionHandler: @escaping () -> Void) {     completionHandler()   }   override func handleNewFlow(_ flow: NEFilterFlow) -> NEFilterNewFlowVerdict {     return .drop()   } }
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Error while trying to connect to UITextFields to API
okay
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Cannot Access NSUserDefaults in App Group on Device
Did anyone find any solution? same error. xcode 13.2 trying to use UserDefault in Network extension. [User Defaults] Couldn't read values in CFPrefsPlistSource<0x280084580> (Domain: group.appgroup, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Override DNS settings
Do you have any demo?
Replies
Boosts
Views
Activity
Mar ’22