开发者

UITableViewCell + standard disclosure indicator + secondary UIButton + HIG violation

开发者 https://www.devze.com 2023-02-15 20:46 出处:网络
I\'ve a simple question but I cannot find a clear answer around the web. Suppose I have a custom UITa开发者_StackOverflow社区bleViewCell

I've a simple question but I cannot find a clear answer around the web.

Suppose I have a custom

UITa开发者_StackOverflow社区bleViewCell

With the default disclosure detail button that take to a detail view controller.

Is it good to have secondary, custom button that, when tapped, fires another action rather than presenting the detail view controller?

Or it could be an HIG violation?

any suggestion very appreciated.


Where would you like to put another button? Maybe the simplest thing to do is put the other action in

-(void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath


I probably mis-explained.

Here is a raw image. It may help claryfing the question:

UITableViewCell + standard disclosure indicator + secondary UIButton + HIG violation

0

精彩评论

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

关注公众号