Feature Description
Describe what functionality you want to see.
Thank you for your development of this library. I have a small demand. When the application is started for the first time, it mistakenly touches that it is not allowed to use the network permission. How can I know that the user does not open the network permission and let the user go to the setting page to open the network permission?
let data = CTCellularData()
let state = data.restrictedState
switch state {
case .notRestricted:
DispatchQueue.main.async {
authorizedHandler()
}
default:
DispatchQueue.main.async {
unAuthorizedHandler()
}
}
Feature Description
Describe what functionality you want to see.
Thank you for your development of this library. I have a small demand. When the application is started for the first time, it mistakenly touches that it is not allowed to use the network permission. How can I know that the user does not open the network permission and let the user go to the setting page to open the network permission?