“Plain Style unsupported in a Navigation Item” warning with my customized Bar Button Item

前端 未结 8 874
醉话见心
醉话见心 2020-12-24 11:39

I drag a Round Rect Button to the position of the right Bar Button Item, and set an image to the Round Rect Button. All works well, except the warning \"Plain Style unsuppor

8条回答
  •  暖寄归人
    2020-12-24 12:04

    If you are using storyboard then click the warning and it should take you to the offending navigation item (I had two for the problem, one took me there the other did not) - change the style and clean the project.

    Bar Button Style set to plain

提交回复
热议问题