Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can you create a login screen like the iPhone facebook app?

The Facebook app for the iPhone has a great username/password setup where it almost looks like it is a uitableview with UITextField's inside the two rows, is this how it is done? Or would it be something different to this altogether?

If it is a tableview, how can I access the textfields inside the tableview once the user hits the Login button? Is there a quick way to iterate over the cells in a tableview?

A simple one, I know, but I didnt want to implement an elaborate tableview if I didnt need to...

like image 675
Mark Avatar asked Feb 25 '23 01:02

Mark


1 Answers

The source: https://github.com/c99koder/lastfm-iphone

Edited: It's possible you customize the UITableViewCell and put a UITextField inside. However, there is an even easy way to achieve this, since the login / signup page would almost always be static. See below.

LastFM for iPhone used a similar login / signup page design. And they open-sourced their code. Take a look at the nib file and you will know how LastFM did this. :-)

  • Screenshot 1: original
  • Screenshot 2: after I removed some of the background png files.

enter image description hereenter image description here

like image 112
Di Wu Avatar answered Apr 09 '23 14:04

Di Wu