Delay in presenting a modal view controller

前端 未结 9 1829
星月不相逢
星月不相逢 2020-12-24 10:51

I have a tab bar based app. There are navigation controllers in all 5 tabs with instances of custom view controller setup properly as root view controllers. This loads just

9条回答
  •  Happy的楠姐
    2020-12-24 11:14

    If you call present(:animated:completion:) in tableView(:didSelectRowAt:), selectionStyle == .none for selected tableview cell and you’ve got this strange behavior then try to call tableView.deselectRow(at:animated:) before any operations in tableView(_:didSelectRowAt:).

    Did it help?

提交回复
热议问题