开发者

custom uitableviewcell for login input - username & password

开发者 https://www.devze.com 2022-12-26 00:17 出处:网络
I want to create a simple table view with one section and two rows - one for username and another for password, similar to Skype login (screenshot here: http://i33.photobucket.com/albu开发者_如何学编程

I want to create a simple table view with one section and two rows - one for username and another for password, similar to Skype login (screenshot here: http://i33.photobucket.com/albu开发者_如何学编程ms/d74/chaks_2k/IMG_0143.png)

Just two rows, one for username and another for password.

Is there any out of the box cell style i can use for this or should I create a custom table view cell? It really looks like this is a common control that anybody wants in their application if they want to input username and password.

Thanks, Chaks


Yes ofcourse you do need to use Custom cells to make such kind of layout.

Otherwise one easy way :

Set the image for email & password just like cell & place two textfields over there.That would also look like tableView cells .

In addition to this ,If you follow this you can customize your view very easily with less coding & making a rich layout.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号