0
我有一個RestKit請求如下。我如何從響應頭獲取身份驗證令牌?Swift,我如何從RestKit獲得響應頭文件?
RKObjectManager.shared()
.getObjectsAtPath(urlString,
parameters: paramsDictionary,
success: {(operation: RKObjectRequestOperation?, result: RKMappingResult?) -> Void in
pod 'RestKit', '~> 0.27.0'
我得到'RKObjectRequestOperation類型的值沒有成員響應# – markhorrocks
@markhorrocks檢查編輯的答案。 –
它喜歡'operation.httpRequestOperation' – markhorrocks