摘要:
- (IBAction)touchReadButton:(id)sender { NSData *jsonData = [[NSData alloc] initWithContentsOfFile:JSON_PATH]; NSError *error = nil; id jsonObject = [NSJSONSerialization JSONObjectWithData:jsonData options:NSJSONReadingAllowFragments error:&error;]; ... 阅读全文
摘要:
for (UIView * thebtn in [self.view subviews]) { if ([thebtn isKindOfClass:[UIButton class]]) { //***改变字体颜色 [(UIButton *)thebtn setTitleColor:[UIColor redColor] forState:UIControlStateNormal]; //***改变背景 [(UIButton... 阅读全文