TouchAreaInsets 1.1.0

TouchAreaInsets 1.1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Sep 2017

Maintained by Suyeol Jeon.


Downloads

Total2,426
Week40
Month257

Installs

Apps42
Apps WeekApps This Week 6
Test Targets22
Test WeekTests This week 4
powered by Segment

GitHub

Stars20
Watchers1
Forks3
Issues0
Contributors1
Pull Requests0

Code

Files3
LOCLines of Code 35


  • By
  • Suyeol Jeon

Touch area insets for UIView.

At a Glance

The code below expands button's touch area for 20px.

let button = UIButton()
button.touchAreaInsets = UIEdgesInsets(top: 20, left: 20, bottom: 20, right: 20)

Installation

pod 'TouchAreaInsets'

License

TouchAreaInsets is under MIT license. See the LICENSE file for more info.