- 博客(0)
- 资源 (1)
- 收藏
- 关注
长按拖动排序
/*
* 使用方法
**/
//- (void)viewDidLoad {
// [super viewDidLoad];
// // Do any additional setup after loading the view.
// self.view.backgroundColor = [UIColor grayColor];
//
// StBtnTouchMove *stBtn = [[StBtnTouchMove alloc]initWithFrame:CGRectMake(0, 200, 375, 100)];
// [self.view addSubview:stBtn];
// stBtn.buttonArray = [[NSMutableArray alloc]init];
// for (NSInteger i = 0; i < 4; i++) {
// UIButton *btn = [[UIButton alloc]initWithFrame:CGRectMake(i*375/4.0, 0, 375/4.0, 100)];
// [stBtn addSubview:btn];
// [btn setTitle:[NSString stringWithFormat:@"btn%ld",i] forState:UIControlStateNormal];
// btn.backgroundColor = [UIColor redColor];
// [stBtn.buttonArray addObject:btn];
// [btn addTarget:self action:@selector(btnClick) forControlEvents:UIControlEventTouchUpInside];
// }
// [stBtn touchMove];
//}
2016-01-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人