开发者

DetailDisclosureButton

开发者 https://www.devze.com 2023-02-05 13:42 出处:网络
What is the way to to add some text with DetailD开发者_Go百科isclosureButton To add text to a UITableViewCell:

What is the way to to add some text with DetailD开发者_Go百科isclosureButton


To add text to a UITableViewCell:

cell.textLabel.text = @"foo";

To add a disclosure button:

cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;

If you want to change the disclosure button to include text somehow, subclass UITableViewCell and use that instead.

0

精彩评论

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