Why am I getting a “Title set but using a system Identifier” warning?

后端 未结 1 519
时光取名叫无心
时光取名叫无心 2021-02-18 16:14

I get the following warning:

MainStoryboard.storyboard: Title set but using a system Identifier (These attributes are mutually exclusive; the Title will

1条回答
  •  野性不改
    2021-02-18 16:51

    Are you adding a title to the Cancel button (e.g. “Cancel”)?

    You don’t need to do this as setting the bar button item as a system bar button item (like Cancel) will automatically set the title—and it’ll be localized for you.

    0 讨论(0)
提交回复
热议问题