摘要: 1.IOS7导航栏上的自定义的图标会被改动颜色,为了去除这个默认颜色,解决方案如下: http://stackoverflow.com/questions/19372269/uibarbuttonitem-with-uiimage-always-tinted-ios-7 2.IOS导航栏可以自定义b 阅读全文
posted @ 2017-10-19 02:08 我虐代码千百遍 阅读(1000) 评论(0) 推荐(0) 编辑
摘要: 1、对数组中的元素去重复 例如: NSArray *array = @[@"12-11", @"12-11", @"12-11", @"12-12", @"12-13", @"12-14"]; 参考答案: 第一种方法:开辟新的内存空间,然后判断是否存在,若不存在则添加到数组中,得到最终结果的顺序不发 阅读全文
posted @ 2017-10-19 01:59 我虐代码千百遍 阅读(199) 评论(0) 推荐(0) 编辑