{ var error: NSError? = nil let status = asset.statusOfValue(forKey: "playable", error: &error) switch status { case .loaded: // Sucessfully loaded, continue processing case .failed: // Examine NSError pointer to determine failure case .cancelled: // Loading cancelled default: // Handle all other cases } } ※AppleͷAPI ReferenceΑΓൈਮ