- 博客(3)
- 收藏
- 关注
原创 iOS手机客户端https请求忽略证书认证
//设置证书,在客户端默认忽略证书认证- (BOOL)connection:(NSURLConnection *)connection canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace{ return [protectionSpace.authenticationMeth
2015-04-21 10:04:51 2455
转载 iOS获取设备网络状态,2G,3G,4G,wifi,非Reachability
+(NSString *)getStatus{ NSArray *children = [[[[UIApplicationsharedApplication] valueForKeyPath:@"statusBar"]valueForKeyPath:@"foregroundView"]subviews]; NSString *state = [[NSString
2015-04-09 18:37:44 757
转载 iOS 获取手机ip地址
#include #include - (NSString *)getIPAddress{ NSString *address = @"error"; structifaddrs *interfaces = NULL; structifaddrs *temp_ad
2015-04-09 17:12:37 456
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人