ios mutableurlrequest 自带缓存机制?
状态栏样式设置:
NSDictionary* textDic = [NSDictionary dictionaryWithObjectsAndKeys:[UIColor whiteColor],UITextAttributeTextColor, [UIFont boldSystemFontOfSize:20],UITextAttributeFont,nil];
[navigationbar settitleTextAttribute:textDic]navigationBar.barTintColor=[uicolor redcolor]
initwithcoder这个东西,,,没搞懂
cgcolor
进度条:
sdwebimage 加载图片机制:
//加载图片
[[SDWebImageManager sharedManager] downloadWithURL:url
options:SDWebImageLowPriority
progress:^(NSUInteger receivedSize, long long expectedSize){
pView.progress = receivedSize * 1.0 / expectedSize;
}
//完成
completed:^(UIImage *aImage, NSError *error, SDImageCacheType cacheType, BOOL finished){
if (finished) {
[pView setHidden:YES];
[m_img setImage:aImage];
}
}];
block回调