Search code examples
iosobjective-cios6storyboarduistoryboard

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


I get the following warning:

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

I have a manually placed toolbar on my storyboard with a Title and a Cancel button. What's wrong about that?


Solution

  • 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.