How to add UITextField,UITextView,UILabel and UIButton in UITableview like forms iphone?

In my iphone application there is 4 forms. These forms are having UITextField, UITextView, UILabel and UIButton. Currently i placed these items in UIScrollView. But, now my client want the forms look like 'iPhone Settings app'. How can i place the UITextView,UITextField, UILabel and UIButton in UITableView? The user need to enter their details in this forms, the tableview should move up when the user click the UITextField in bottom. How can do this? Please suggest me any sample code/ ideas? Thanks in advance.

Answers


UITableViewCell has a view called contentView. Use [cell.contentView addSubview:yourView] to add the items to your cell.


Need Your Help

How to get an ActiveX component's registered path

c# com activex regsvr32

I've got a registered ActiveX component which I'm referencing in a C# project. However, I'd like to know the original path to the actual component being run. This is not the execution path per se. Is

Every-minute stored procedure executing using Quartz.Net

asp.net-mvc stored-procedures quartz.net

I want to implement every-minute database stored procedure executing in ASP.NET MVC web site using Quartz.Net. I wonder how can I exec the procedure with and without parameters.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.