27

I want to use a navigation bar, and I realize that it has title and prompt.

What is the difference between them?

Popeye
  • 11,839
  • 9
  • 58
  • 91
offset
  • 1,407
  • 1
  • 16
  • 34
  • 1
    How is this related to `xcode`? What have you tried? This question has little to no information or shows any kind of research. Help us help you – Popeye Jun 26 '13 at 08:10
  • Success help me without me to help you ... – offset Jun 26 '13 at 09:21
  • 6
    with the new tagging (uinavigationitem), this is actually a very clear question, and the answers are spot on. Vote to reopen. – SimplGy May 22 '15 at 11:11
  • ....and it continually gets upvotes. I hate when people try to say "oh you could have found this out by a little research". Like this is our research and it brought me here, why can't you just answer the question and take the free reputation points. – Eric33187 Apr 12 '21 at 22:41

2 Answers2

40

Although apple documentation does not provide enough information to understand the difference, you could have got answer by little search.

TitleView - Used to display main title of you controller.

Prompt - Used to provide some additional information to your user.

e.g. You can have title as "Grocery List" with Prompt as "Please select appropriate type"

NightFury
  • 13,436
  • 6
  • 71
  • 120
8

enter image description here

Here Basic is the title.

Sentence in the top portion is the prompt

manujmv
  • 6,450
  • 1
  • 22
  • 35