1. 首页
  2. 移动开发
  3. iOS
  4. ios通讯录姓名排序
下载地址
用户评论
码姐姐匿名网友 2019-01-19 16:28:58

Demo没事 但是我用了会崩 崩在MJNIndexView.h 的 - (void)getAllItemsSize { CGSize currentItemSize = [item sizeWithFont:self.font]; } Thread1: EXC_BAD_ACCESS (code=2,address=0xbf7f1dac) 不知道什么原因

码姐姐匿名网友 2019-01-19 16:28:58

挺有用的的中文姓名排序和索引的封装,不过只能排序姓名数组,像数组里面套字典那种还需要自己修改。

码姐姐匿名网友 2019-01-19 16:28:58

其实使用系统的一个方法就可以排序了。。有参考价值

lzsbigtiger 2024-12-31 05:15:04

Demo没事 但是我用了会崩 崩在MJNIndexView.h 的 - (void)getAllItemsSize { CGSize currentItemSize = [item sizeWithFont:self.font]; } Thread1: EXC_BAD_ACCESS (code=2,address=0xbf7f1dac) 不知道什么原因