2017年5月11日
摘要: // 根据anntation生成对应的View - (BMKAnnotationView *)mapView:(BMKMapView *)mapView viewForAnnotation:(id <BMKAnnotation>)annotation { 阅读全文
posted @ 2017-05-11 16:47 强者VS弱者 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 1、要是用一个定时器,首先要定义一个定时器: @property(strong,nonatomic)NSTimer *myTimer;//定时器 2、初始化,初始化有两种方式: 第一种: + (NSTimer *)timerWithTimeInterval:(NSTimeInterval)ti ta 阅读全文
posted @ 2017-05-11 10:46 强者VS弱者 阅读(852) 评论(0) 推荐(0) 编辑
摘要: - (IBAction)pwdTextSwitch:(UIButton *)sender { // 前提:在xib中设置按钮的默认与选中状态的背景图 // 切换按钮的状态 sender.selected = !sender.selected; if (sender.selected) { // 按下 阅读全文
posted @ 2017-05-11 09:19 强者VS弱者 阅读(962) 评论(0) 推荐(0) 编辑