in Objective-C das funktioniert gutWie kann man Enum in swift vergleichen?
Kann dies nicht
Oder
ALAuthorizationStatus Definition in IOS in Swift kompilieren SDK
enum ALAuthorizationStatus : Int {
case NotDetermined // User has not yet made a choice with regards to this application
case Restricted // This application is not authorized to access photo data.
// The user cannot change this application’s status, possibly due to active restrictions
// such as parental controls being in place.
case Denied // User has explicitly denied this application access to photos data.
case Authorized // User has authorized this application to access photos data.
}
Bitte zeigen Sie uns Ihre Enum-Definition. – Alexander
AssetsLibrary von IOS SDK – Charlie