摘要:
1 //UIAlertView的代理方法(创建UIAlertView之后,copy此代理方法即可) 2 3 - (BOOL)alertViewShouldEnableFirstOtherButton:(UIAlertView *)alertView{ 4 5 //1.取出输入框中的文字 ... 阅读全文
摘要:
1 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{ 2 3 //1.取消选中这一行 4 5 [tableView deselectRowAtInde... 阅读全文
摘要:
1 2 3 //MyToolbar.h 头文件 4 @interface MyToolbar : UIToolbar 5 6 @end 7 8 //MyToolbar.m 实现文件 9 #import "MyToolbar.h"10 11 @implementation MyToolba... 阅读全文
摘要:
1 //1.创建toolbar左边的按钮,调用initWithTitle方法进行初始化2 3 // UIBarButtonItem *extend = [[UIBarButtonItemalloc]initWithTitle:@"扩展"style:UIBarButtonItemStylePlai... 阅读全文