iOS获取系统请求User-Agent
2015-08-04 本文已影响3032人
Lonely__M
NSMutableURLRequest *request = .....
/** 获取系统的UA */
NSString *sysUA = request.allHTTPHeaderFields[@"User-Agent"];
NSMutableURLRequest *request = .....
/** 获取系统的UA */
NSString *sysUA = request.allHTTPHeaderFields[@"User-Agent"];