Unpredictable delay before UIPopoverController appears under iOS 8.1

前端 未结 3 1874
鱼传尺愫
鱼传尺愫 2021-02-05 11:56

This problem happens with SDK 8.1, when running under iOS 8.1, but not when running under iOS 7. It is for iPad only. The problem appears both with simulator and on a hardware d

3条回答
  •  长情又很酷
    2021-02-05 12:15

    Many thanks for that trick. I have a TableView that displays a popover when I click on a line. My popover was displaying only after a delay, or even was requiring a double click on the line to finally show up. By adding the indicated line ([tableView deselectRowAtIndexPath: indexPath animated: NO]) the popover is displayed immediately without having to double click anymore.

提交回复
热议问题