trong Objective-C làm việc này tốtLàm cách nào để so sánh Enum nhanh chóng?
Không thể biên dịch này trong Swift
Hoặc
ALAuthorizationStatus định nghĩa trong IOS 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.
}
Vui lòng cho chúng tôi biết định nghĩa enum của bạn. – Alexander
AssetsLibrary từ iOS SDK – Charlie