MRoundedButton icon indicating copy to clipboard operation
MRoundedButton copied to clipboard

add hitTestEdgeInsets property for making the hit area larger than the default hit area

Open Sashke opened this issue 11 years ago • 2 comments

if you want to make the hit area larger, you must use negative numbers

[button setHitTestEdgeInsets:UIEdgeInsetsMake(-10, -10, -10, -10)];

Sashke avatar Aug 21 '14 08:08 Sashke

@Sashke , I don't think this is worth to add in the repo, could you please provide me a case?

mrcrow avatar Aug 28 '14 07:08 mrcrow

Look at round buttons in Yahoo News Digest app. It have larger hit area then it appears. Without it many users with big fingers misses when pressing it. Sorry for my english

Sashke avatar Aug 28 '14 09:08 Sashke