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

  • Home
  • SEARCH
  • 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 657731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:51:23+00:00 2026-05-13T22:51:23+00:00

I am developing a web app (using rails) that I will be launching within

  • 0

I am developing a web app (using rails) that I will be launching within a week. I’ve “jumped the gun” and started working on the iPhone app for the site (I’m new to iPhone development). Using the peepcode iPhone screencasts and the expense/budget demo app from clarkware I’ve been able to get things going (using ObjectiveResource for iPhone-to-Rails communication). So I’m able to get a tabBarController loading a table with test data populated from my staging server online. Great.

My problem lies in that I need login functionality. The budgets demo app has this nailed but it uses a navigationController. I would like to use a tabBarController (which I’m using currently) to handle the basic functionality of the app.

Here’s how I see the app login functionality working when completed:

When a user first runs the iPhone app, the iPhone app will present a login screen (username and password). If a correct username and password is entered the session/user info is saved (preferably to the general/settings app section of the iPhone). The user won’t be presented with the login screen again unless the session expires, the user edits the username/password in the general/settings section of the iPhone, or the user deletes the application and reinstalls.

The closest thing to what I have in mind for this process is the Gowalla app.

So I suppose my question is: What is the best way to get a login screen to appear when using a tabBarController? Once I can do this and get authentication taken care of the rest should fall into place.

Please let me know if there’s anything I need to clarify – THANK YOU!

-Tony

  • 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-13T22:51:23+00:00Added an answer on May 13, 2026 at 10:51 pm

    Do you want to have the tab bar to display at the bottom? Then just put the Login View Controller as the selected tab by setting the selectedViewController or selectedIndex properties of UITabBarController.

    Do you want to have the tab bar display at the bottom but not be actionable until they’ve logged in? Then set a UITabBarDelegate and override the tabBarController:shouldSelectViewController: method to disallow until login has happened.

    Do you not want the tab bar to display until login has been entered (personally I would think this is most desireable)? Then either don’t show the TabBarController until you’re ready, show the Login View Controller instead… or, alternatively, show the Login Controller as a Modal View Controller over the TabBarController and don’t allow it to be dismissed until login was successful.

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

Sidebar

Ask A Question

Stats

  • Questions 354k
  • Answers 354k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Consider extending DefaultComboBoxModel: override addElement() and insertElementAt() to insert at… May 14, 2026 at 8:26 am
  • Editorial Team
    Editorial Team added an answer The trick is to draw the same image again and… May 14, 2026 at 8:26 am
  • Editorial Team
    Editorial Team added an answer Don't use ArrayList<String> and instead use ArrayList<SongArray>: List<SongArray> songs =… May 14, 2026 at 8:26 am

Related Questions

I am new to the asp.net world (but not new to .net) and I
I am developing a web app using ASP.NET 2.0 (C#), where on home page
I am developing a web-app using zend framework. I like how all the autoloading
I am developing a web app using silverlight. I read that Microsoft offers 10
I'm developing a web app using Django, and I'll need to add search functionality

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.