UITableView section index related crashes under iOS 7

后端 未结 4 1650
感动是毒
感动是毒 2021-02-15 06:33

I have a simple section index for a table view that appears fine for the first time but then crashes if certain kinds of interaction happens that force a redraw of the section i

4条回答
  •  日久生厌
    2021-02-15 07:14

    I have been experiencing this exact issue. I solved this after days of frustration by using a 3rd party section index view and not using the native sectionIndexTitlesForTableView. Check out CMIndexBar. Super easy, got it up an running in about 5 minutes. Easily customizable. This is what I will be using until Apple addresses this bug and I highly recommend it if you are experiencing this crash.

提交回复
热议问题