UIApplication.shared.open(url) { success in
if success {
print("Successfully opened settings: \(type)")
} else {
print("Failed to open settings: \(type)")
}
completion(success)
}
UIApplication.shared.open(url) { success in
if success {
print("Successfully opened settings: \(type)")
} else {
print("Failed to open settings: \(type)")
}
completion(success)
}