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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:39:46+00:00 2026-06-15T18:39:46+00:00

The structure of my MainStoryboard is: ->Tab Bar Controller -> Navigation Controller -> View

  • 0

The structure of my MainStoryboard is:

->Tab Bar Controller -> Navigation Controller -> View Controller (Search)

The behaviour I want to have is that when the user re-selects the Search tab, the UIScrollView on it scrolls to the top. I am unsure how to get the event from the TabBarController, however.

I’ve been looking at a lot of stuff about UITabBarDelegate, particularly:

- (void)tabBar:(UITabBar *)tabBar didSelectItem:(UITabBarItem *)item

I have, not quite managed to get this to work properly though. I am very unsure about how to go about setting the delegate (assuming that is the way it’s done). I’ve tried hooking it up in IB, but it wouldn’t let me. I also tried to get the UITabBar from the AppDelegate (after looking at some seemingly-related answers).

Any pointers will be greatly appreciated (unless they’re null).

  • 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-15T18:39:47+00:00Added an answer on June 15, 2026 at 6:39 pm
    UITabBar *aTabBar = [UITabBarItem alloc] init];
    

    ….Any other modifications you want to make to aTabBar….

    [aTabBar setDelegate:self]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The structure is as follows: View Tab Bar Controller Navigation Controller View Controller Navigation
my structure is like this: master page aspx(web form) ascx(user control) I have a
Imagine I have this structure: class Foo { String bar } Now imagine I
Project Structure I have a silverlight project SLProj, that references a silverlight class library
Structure of my grid columns. Now problem is that I want CompanyName only editable
I have code structure in which I have class file, template file and controller
I have a menu structure (Drupal) that contains elements representing a menu link. If
The structure that I want to draw should be exactly like the one shown.
Structure of my table : ID(int) | NUMBER(int) | CREATED_AT(date) If I have three
My structure is like that, QStringList list; list << Hello << world << Blah

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.