4
let serverConfig = UserDefaults.standard.dictionary(forKey: "com.apple.configuration.managed") print("serverConfig count:
\(String(describing: serverConfig?.count))")

Above code always returning nil for iOS 11 and above. but same code is working for me on iOS 9,10.

I have checked this ref link code but somehow it's not working fine for me. I don't know what I'm doing wrong.

Tejas Shah
  • 106
  • 2
  • 8

0 Answers0