Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6663901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:33:02+00:00 2026-05-26T02:33:02+00:00

My app for iPad has 3 views. Welcome Screen -> Home screen -> Detail

  • 0

My app for iPad has 3 views. Welcome Screen -> Home screen -> Detail screen

Home screen has 6 buttons. All those buttons have different data which is shown on detail screen respective to the button pressed. I want to set a title for each button on the navigation bar of the Detail Screen. So there will be 6 titles on the navigation bar. I have tagged the buttons from 1 to 6.
pls guide
thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T02:33:02+00:00Added an answer on May 26, 2026 at 2:33 am

    If you have Navigation Controller, then all you need is to set title property of Detail screen’s View Controller. Navigation bar will automatically update it’s label to current View Controller’s title.

    So if you have action for button :

    - (IBAction)buttonPressed:(id)sender {
        UIButton *button = (UIButton *)sender;
        NSString *title = [button text];
        DetailScreenViewController *detail = [[DetailScreenViewController alloc] initWithDetail:title];
        [detail setTitle:title];
        [navigationController pushViewController:detail animated:YES];
        [detail release];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an app which has different app identifier for iphone and ipad and
I have a basic iPhone/iPad app which has a ; a. List view &
I have an iPad app which has a funky Path-style menu which is present
I have a split view controller in my Ipad app, in which the detail
I have an iPad app that has 4 buttons on the left side that
I have a Universal app (iPhone/iPad) which has an iAd displayed at the bottom
I have a Universal app (iPhone/iPad) testing on IOS4.3. It has an iAd which
I have this iOS 3.2 app (iPad) which has lots of content, and a
I am developing an app on iPad which has only animations. I am using
I have an iPad app that has a UITableViewController that implements the NSFetchedResultsControllerDelegate .

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.