MPMediaLibrary.requestAuthorization { (status) in
if status == MPMediaLibraryAuthorizationStatus.authorized {
print("Accepted")
} else {
print("not authorized")
}
}
The code above worked fine until 12.3.1 update of iOS. But now the closure is not calling at all. Have anybody encountered this yet or I am missing something?