-
-
Notifications
You must be signed in to change notification settings - Fork 478
Open
Labels
enhancementNew feature or requestNew feature or requestwait moreFurther information is requestedFurther information is requested
Description
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()
}
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestwait moreFurther information is requestedFurther information is requested