摘要:
可以添加屏幕边缘pan手势 UIScreenEdgePanGestureRecognizer *recognizer = [[UIScreenEdgePanGestureRecognizer alloc]initWithTarget:self action:@selector(paningGestu... 阅读全文
摘要:
本地国际化处理:#define GSLocalizedString(key, comment) \NSLocalizedStringFromTableInBundle(key, TABLE_OF_LANGUAGE, [LanguageManager bundle], comment)key:国际化字... 阅读全文
摘要:
[self.navigationController.navigationBar setTranslucent:NO];//设置navigationbar的半透明 阅读全文
摘要:
在FormViewController中,则不需要在实现UITextFieldDelegate,来对处于编辑状态的textField进行跟踪,也不必担心将来会添加N个UITextView,只要是在FormViewController下,我们只要调用 [self.view endEditing:YES... 阅读全文
摘要:
NSString _str1=@"北京市";NSString *str=[_str1 stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; 阅读全文