开发者

custom delete button uitableview iphone sdk

开发者 https://www.devze.com 2023-02-09 01:26 出处:网络
I wanted swipe a custom view into a UITableViewCell. I can set and use the swipe delete button but I want to have the same effec开发者_运维技巧t with any view.Have you tried setting

I wanted swipe a custom view into a UITableViewCell. I can set and use the swipe delete button but I want to have the same effec开发者_运维技巧t with any view.


Have you tried setting

@property(nonatomic, retain) UIView *editingAccessoryView

of UITableViewCell?


Why don't you try it will Custom cell & each having the UIView in cell.

That would be much easier way to manage if there are multiple view & user will also be able to scroll for all view.

Hope this trick would work .

0

精彩评论

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