NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds

 Bugly:  Trapped uncaught exception 'NSRangeException', reason: 'NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds'
(
0   CoreFoundation                      0x0000000116162e65 __exceptionPreprocess + 165
1   libobjc.A.dylib                     0x000000011a5badeb objc_exception_throw + 48
2   CoreFoundation                      0x0000000116162d9d +[NSException raise:format:] + 205
3   Foundation                          0x000000011a17f5db -[NSRLEArray objectAtIndex:effectiveRange:] + 142
4   Foundation                          0x000000011a196ae2 -[NSConcreteMutableAttributedString addAttribute:value:range:] + 208
5   FaciShare                           0x000000010fa81c0d -[ActionSheet sheetAttributeTitleWithTitle:] + 3677
6   FaciShare                           0x000000010cb2d669 __40-[SendViewController requestRange]_block_invoke + 137
 
 
 
富文本的范围越界了。
原文地址:https://www.cnblogs.com/tanglimei/p/5718812.html