app crashes when handling navbar button event

后端 未结 2 454
不思量自难忘°
不思量自难忘° 2021-01-20 16:42

In my app, I have a navbar button that allows the user to pop back to the top of the navigation stack. This has been there for a while and has been working fine. However,

2条回答
  •  青春惊慌失措
    2021-01-20 17:17

    Just as a quick reminder, I had a similar crash when not the button was created on a local variable but the view containing the button. I've described the solution here.

提交回复
热议问题