摘要:
- (void)buttonClick:(id)senser{ NSInteger tag = [senser tag]; NSLog(@"the button tag is %d",tag); for (int row = 0; row<6; row++) { NSIndexPath *indexPathHighlight = [NSIndexPath indexPathForRow:row inSection:0]; UITableViewCell *newCell = [self.customTableView cellForRowAtIndexPath:ind 阅读全文
摘要:
[self.indicator setImage:[UIImage imageNamed:@"01_login_moreicon@2x.png"] forState:UIControlStateNormal]; [self.indicator setImageEdgeInsets:UIEdgeInsetsMake(10.0f, 15.0f, 10.0f, 10.0f)];注意:这里如果修改成setbackgroundimage就无法达到这个效果了。 阅读全文
摘要:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 2. The number of rows contained in an existing section after the update (1) must be equal to the number of rows contained in that section before the up 阅读全文