摘要: - (BOOL)validateLianxu:(NSString *)passWord{ NSString *last = @""; int sub = -1; for (int i = 0; i< passWord.length; i++) { NSString *str = [passWord 阅读全文
posted @ 2016-08-19 18:01 奋斗路上的奋青 阅读(579) 评论(0) 推荐(0)
摘要: 1.设置全局 的self.starButton作为中间变量 //下面方法是多个Button公用的点击事件响应方法(可用tag值区分不同Button点击事件) 2. - (void)click:(UIButton *)button{ if(button!=self.starButton){ self. 阅读全文
posted @ 2016-07-25 15:37 奋斗路上的奋青 阅读(763) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-07-19 10:20 奋斗路上的奋青 阅读(298) 评论(0) 推荐(0)
摘要: 一、此方法可以实现隐藏状态栏,但是整个项目的都会被隐藏掉(不好用) 1.在plist文件中加入 View controller-based status bar appearance 设置为 NO 2.[[UIApplication sharedApplication] setStatusBarHi 阅读全文
posted @ 2016-06-22 16:10 奋斗路上的奋青 阅读(1381) 评论(0) 推荐(1)