Unwind segue from navigation back button in Swift

后端 未结 4 925
无人及你
无人及你 2020-12-14 19:15

I have a settings screen, in that I have a table cell. By clicking on that I take to another screen where user can choose an option and I want it back in the previous view c

4条回答
  •  春和景丽
    2020-12-14 19:54

    I tried the same and it seems that you cannot catch the standard back button's action so the solution will be to use a custom button and bind it to a segue which leads back to the previous page.

提交回复
热议问题