- 博客(15)
- 收藏
- 关注
原创 ios 下拉刷新,下拉加载数据 利用第三方
MJRefreshGifHeader *header=[MJRefreshGifHeader headerWithRefreshingTarget:self refreshingAction:@selector(addPage)]; [header setImages:@[[UIImage imageNamed:@"icon_listheader_animation_1@2x.png
2016-07-22 15:21:26 220
原创 取消TableView的头尾视图
UIView *view=[[UIView alloc] init]; [_tableV setTableFooterView:view]; 设置其尾视图为空
2016-07-20 17:13:56 397
原创 调用系统的相机
-(void)headBClick{ UIImagePickerController *controlImg=[[UIImagePickerController alloc] init]; //设置代理 controlImg.delegate=self; //是否编辑 controlImg.allowsEditing=YES;
2016-07-18 17:58:01 194
原创 button中有 UIimage 有 title 设置它的位置
[button setTitleEdgeInsets:UIEdgeInsetsMake(15, -25, -15, 25)]; [button setImageEdgeInsets:UIEdgeInsetsMake(-10, 0, 10, 0)];
2016-07-15 18:26:01 211
原创 不同状态下的button
for (int i =0; i ; i ++) { UIButton *button = [backView viewWithTag:i+60]; button.backgroundColor = [UIColor whiteColor]; if (sender==button) { sender
2016-07-15 14:27:18 274
原创 UITableView默认加载的区域
在当前的类中 NSIndexPath *indexPath = [NSIndexPath indexPathForRow:1 inSection:1]; [self tableView:tableV didSelectRowAtIndexPath:indexPath]; [self changeViewController:0];
2016-07-14 16:52:05 191
原创 取消TableViewCell的选中状态
[tableView deselectRowAtIndexPath:indexPath animated:YES];
2016-07-13 15:40:38 407
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人