根据button的tag与view同步 view根据button文字长短变化
摘要:NSArray *typAry = @[@"四个字",@"22",@"33",@"44",@"44",@"44"]; for (NSInteger i = 0; i < 6; i++) { UIButton *typBtn = [[UIButton alloc]initWithFrame:CGRec
阅读全文
collectoionview的一些应用 自己留存
摘要:今天写的页面用到collectoionview的方法 记下怕忘0.0 //组数 - (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView{ return ; } //个数 - (NSInteger
阅读全文