摘要:
// DLog is almost a drop-in replacement for NSLog // DLog(); // DLog(@"here"); // DLog(@"value: %d", x); // Unfortunately this doesn't work DLog(aStringVariable); you have to do this instead DLog(@"%@", aStringVariable); #ifdef DEBUG # define DLog(fmt, ...) NSLog((@ 阅读全文
摘要:
- (void)moveView:(UITextField *)textField leaveView:(BOOL)leave { UIView *accessoryView = textField.inputAccessoryView; UIView *inputview = textField.inputView; int textFieldY = 0; int accessoryY = 0; if (accessoryView && inputview) { CGRect accesso... 阅读全文