how can I remove the top border on UIToolBar

后端 未结 11 738
一生所求
一生所求 2021-02-02 05:14

I have set my UIToolBar tint color to some value, and there is this border line that I see in which I want to remove:

11条回答
  •  广开言路
    2021-02-02 05:52

    this doesn't work consistently on iOS versions, doesn't seem to work on iOS7. i answered this in another question: https://stackoverflow.com/a/19893602/452082 and you can modify that solution to just remove the background shadow (and leave your toolbar.backgroundColor whatever color you like)

提交回复
热议问题