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 9205325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:55:32+00:00 2026-06-17T23:55:32+00:00

I followed this tutorial from AppCoda to resolve an issue I had with my

  • 0

I followed this tutorial from AppCoda to resolve an issue I had with my TabApplication, it is NOT. a webkit, I used this tactic to resolve my tab titles not displaying.
This is an app to list bands for a local event. So You’ve got:

 TabBarController > Nav1 > RELATIONSHIP > Home
                     > Nav2 > RELATIONSHIP > ARTISTS > UIBUTTON > push to new page.
                     > etc.

They all work wonderfully; if I click on an artist image (UIButton) it takes me to their page. Top part is a banner (UIIMAGE) and the bottom area is a UISCROLLVIEW.

Here lies my problem: If I CLICK on the Artist Button, scroll the UIScrollView to the bottom, and it I leave the page by hitting another Tab Button I get conflict: When I tap the button to go back to the Artist list (not specified artist) It takes me where I left off and there’s an awkward gap between the bottom of the UIScrollView and the Tab Bar with links.

Is there a way I can specify to return to the Artist page with the 6 UIBUTTONS? Or even GET RID of the TabBar options on the bottom part of the screen? I don’t know how to code UISCROLLVIEW, I just used Storyboard to draw the ScrollView out because this is one thing I could never work out.

___________________________________

|                                 |
|_________ARTIST____________NAME__|
|                                 |
|            :)                   |
|                                 |
|                                 |
|                                 |
|                  :)             |
|_________________________________|
|                                 |
|                                 |
|   .....UISCROLLVIEW             |
|_________________________________|
|MAKE_BLANK __BAR_____NO LINKS____| Sorry for the horrible example.
  • 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-06-17T23:55:33+00:00Added an answer on June 17, 2026 at 11:55 pm

    As I understand it your navigation problem is this:

    On Tab 2 you have a Navigation Controller whose initial viewController is a list of artists names. If you select an artists name, you segue to a second viewController (still in Tab 2), which shows that artists details.

    Now if you navigate to Tab 1, do other stuff, go back to tab 2, you want to ensure you are presented with the initial viewController with the list of artists names, whereas you are being returned to the same artist’s page you had left. This leaves your app in a poorly-navigated state (with a glitchy scrollView).

    So what you want to do is prevent the user from tabbing away from an artists page, so that they are forced to return to the artists list from where they can tab elsewhere.

    You can achieve this by presenting the artists viewController from the initial viewController, rather than pushing onto the navigationController’s stack of viewControllers (which I assume you are doing now).

    To do this you don’t actually use the navigation controller in tab2, so you might choose to get rid of it (unless you want the top navBar for other reasons).

    In code

    From artistsNamesViewController, make a button with an action:

    - (IBAction) presentArtistsDetailViewController:(id)sender
    {
         ArtistsDetailViewController* artistsDetailViewController = [ArtistsDetailViewController alloc] init];
    
         //set up artistsDetailViewController properties here
    
         [self presentViewController:artistsDetailViewController animated:YES completion:nil];
    }
    

    Using storyboard

    Instead of code, you can drag a segue line from the button to your artistsDetailViewController, select segue type modal. If you need to initialise properties in your artistsDetailViewController, you can do it in prepareForSegue

    You will see that this type of navigation uses a default slide-up animation to show the new viewController, and the entire screen changes – you lose your tab bar. You can change the animation by setting the modalTransitionStyle property on artistsDetailViewController.

    Navigation back is controlled by adding a ‘dismiss’ button, with an IBAction something like this…

      - (IBAction) dismiss:(id) sender
      {
        [self.presentingViewController dismissViewControllerAnimated:YES completion:nil]
      }
    

    Your user can now only tab away from tab 2 if they are on the initial artistsNamesViewController. You won’t get a glitch in your scrollView because every time you go to an artists detail page you are recreating and reinitialising it. This doesn’t address other parts of your app where you may be experiencing a problem scrollView (as you suggest in your comment), but that is a separate issue, I wanted to address your navigation logic.

    You won’t get a navigation bar at the top of your artistsDetailViewController this way, as the navigation controller is not involved. If you want a navigation bar, you can manually place on onto the viewController in the storyboard.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I followed this tutorial from the Android Developers site. But, the auto complete doesnt
I've followed this tutorial for setting up a static library with common classes from
I just downloaded the android sdk from the adnroid site and followed this tutorial
So I followed this tutorial from Google: http://developer.android.com/resources/tutorials/opengl/opengl-es20.html The triangle is supposed to rotate
I followed this tutorial: http://www.wikihow.com/Generate-Hibernate-Pojo-Classes-from-DB-Tables After I click finish, it looks like something is
I followed this tutorial to send emails from rails and it works just fine.
I am creating a HelloWorld web/spring application from scratch. I have followed this tutorial
I have a JSF page with a few fields. I followed this tutorial from
I am newbie for iPhone application. I have followed this tutorial for login from
I am newbie for iPhone application. I have followed this tutorial for login from

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.