摘要:
uitableviewcell *cell = ((uitableviewcell *)[self.tableView cellForRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]]); //区 和 行 自己传 阅读全文
摘要:
//存 NSArray *paths=NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,YES); NSString *path=[paths objectAtIndex:0]; NSLog(@"path 阅读全文
摘要:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString * cellID = @"cellID"; JWBespe 阅读全文
摘要:
http://bbs.51cto.com/thread-1099956-1.html 阅读全文
摘要:
#pragma mark 图片转字符串 -(NSString *)UIImageToBase64Str:(UIImage *)image { NSData *data = UIImageJPEGRepresentation(image, 1.0f); NSString *encodedImageSt 阅读全文
摘要:
在更新约束时,要调用: // 告诉self.view约束需要更新 [self.view setNeedsUpdateConstraints]; // 调用此方法告诉self.view检测是否需要更新约束,若需要则更新,下面添加动画效果才起作用 [self.view updateConstraints 阅读全文
摘要:
https://github.com/newOcean/printer 阅读全文
摘要:
self.tabBar.shadowImage = [UIImage new]; //UITabBar top line不显示 阅读全文