开发者

GroupedTableView in iphone

开发者 https://www.devze.com 2023-03-24 20:50 出处:网络
i want to create a grouptableview for my application in which some section are editable and some are checkedmark can any body tell me in details to how i do this ,

i want to create a grouptableview for my application in which some section are editable and some are checkedmark can any body tell me in details to how i do this , i want t开发者_如何学编程o put content in row like 'placeholder in textbox'.

I have tried many times and search in google bt i m nt getting any idea please help to out this issues. i want to create grouptableview like this image for my application.

!Screen shot


If you want to edit the content of cell, you have to add UITextField/UITextView to the cell. You can very well assign a placeHolder for the UITextField/UITextView. Refer this SO Post.

For check mark you can use default cell by toggling its accessoryType between UITableViewCellAccessoryCheckmark and UITableViewCellAccessoryNone.


based on your noofsections you can create the no of groups.

0

精彩评论

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