Remove TabBar item in Swift

前端 未结 5 1208
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-06 05:17

I currently try to find a way to remove while run the app a TabBar Item, i found a way to enable or disable it but not to complete remove it.

For disable it i do:

5条回答
  •  借酒劲吻你
    2020-12-06 05:53

    better way is to use only text instead of image. choose 'space' as the text then disable that. then the user will not be able to see it. i haven't tested it but I sure it will work.

提交回复
热议问题