In AFNetworking 2.0, you can use the following:
[AFHTTPRequestOperationManager manager].securityPolicy.allowInvalidCertificates = YES;
More Related Contents:
- Return value for function inside a block
- How to set a timeout with AFNetworking
- Format date with NSDateFormatter
- Objective-C for Windows
- Xcode build failure “Undefined symbols for architecture x86_64”
- What do the plus and minus signs mean in Objective-C next to a method?
- When should I use nil and NULL in Objective-C?
- Objective-C: Calling selectors with multiple arguments
- What’s the _ underscore representative of in Swift References?
- Why isn’t my weak reference cleared right after the strong ones are gone?
- How to convert a string into double and vice versa?
- How to use performSelector:withObject:afterDelay: with primitive types in Cocoa?
- Tutorials for using HTTP POST and GET on the iPhone in Objective-C [closed]
- why didRegisterForRemoteNotificationsWithDeviceToken is not called
- How to convert int to NSString?
- How to add commas to number every 3 digits in Objective C?
- alloc and init what do they actually do
- How to get global screen coordinates of currently selected text via Accessibility APIs.
- Can I declare variables inside an Objective-C switch statement?
- How to programmatically prevent a Mac from going to sleep?
- Objective C: what is a “(id) sender”?
- How can I add forward class references used in the -Swift.h header?
- Can not change UILabel text color
- How to Implement iOS8 Interactive Notification
- Front most window using CGWindowListCopyWindowInfo
- Plist Array to NSDictionary
- iPhone – Differences among time zone convenience methods
- Handle invalid accessToken with FBSession openActiveSessionWithReadPermissions in Facebook iOS 3.1.1 SDK
- What does having two asterisk ** in Objective-C mean?
- Run AppleScript from Cocoa Application