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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:01:33+00:00 2026-05-24T18:01:33+00:00

I’m developing (for learning iOS programming) an application for images-sharing. The wanted layout is

  • 0

I’m developing (for learning iOS programming) an application for images-sharing.

The wanted layout is this:

  • It’s a tabbar application with three tabs.
  • When you open the application and you’re not logged the tabbar is hidden and you see instead a toolbar with two buttons “SIGNUP” and “LOGIN”.
  • The controller that you see when you open the app it’s the same for logged and anonymous users. The anonymous users can see only this because the tabbar (as written above) is hidden and you see instead a toolbar for signing up and log in.
  • When you tap on login or signup button you see (with pushViewController of navigationController) a new pushed view for do the selected action.

For example you’re an anonymous user and you open the app. You see the first controller with all images and a UIToolbar at the bottom with the two buttons. For example you tap on an image and you see a new view with the image details (the view is pushed with navigationcontroller). But also in the new view you can see the UIToolbar for sign up and login. So the UIToolbar it’s always visible for the anonymous user.

My problem is always display the UIToolbar for anonymous users and push with a navigationcontroller the login or signup views.

I’m a newbie developer. Have you tips for do that? 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-24T18:01:35+00:00Added an answer on May 24, 2026 at 6:01 pm

    If I understand your problem correctly, you want to constantly display a UIToolbar for an anonymous user so that they can log in from any of your views? If this is the case, all you would have to do is include your login toolbar in every one of your views you want the user to be able to log in from.

    Another option, if I remember correctly, a navigation controller is technically both a top bar and a bottom bar. You could enable and utilize this bottom bar instead of adding your login toolbar to each of your views. To disable it for a know user, you would simply just hide it.

    Edit in response to comments:
    You should initialize the toolbar in your UINavigationController subclass, it would look something like this:

    customNavController.h:

    @property(nonatomic,retain) UIToolbar *toolbar
    

    customNavController.m

    if (toolbar == nil) {
            toolbar = [[UIToolbar alloc] init];
            navigationController.toolbar = toolbar;
    }
    

    That’s the basic idea, though your initialize function for the toolbar will be different in that it will have the necessary UI for the login process. If you want some more information on the Navigation Controller I would highly recommend reading the class reference on it, it is actually very handy.

    http://developer.apple.com/library/ios/#documentation/uikit/reference/UINavigationController_Class/Reference/Reference.html

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

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
Does anyone know how can I replace this 2 symbol below from the string
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I have a bunch of posts stored in text files formatted in yaml/textile (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.