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?
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()   } }
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
Mar ’22