How to add button to settings.bundle?

后端 未结 3 1622
隐瞒了意图╮
隐瞒了意图╮ 2021-01-03 04:19

I\'m developing an iPhone app, and by default user keeps logged in. If he wants to logout, he should open the Settings and click a \"Logout\" button which would erase his da

3条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-03 04:47

    As CodaFi said it is not possible. However it could be a good workaround to use a toggle switch for "keep me logged in". And when the user turn it off you can show the login screen on next launch.

提交回复
热议问题