nickoneill / PermissionScope

Intelligent iOS permissions UI and unified API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Button texts truncated on iOS 8

zeiteisen opened this issue · comments

commented

screen shot 2016-09-23 at 16 50 16

See the close and grant access button.

commented

German is tough due to long words.
Perhaps the button on top-right should have .sizeToFit().

Perhaps the grant buttons should have:

        button.setTitle("Allowed \(prettyDescription)".localized.uppercaseString, forState: .Normal)
        button.adjustsFontSizeToFitWidth = true
        button.minimumScaleFactor = 0.5

Perhaps you can apply does methods to the label inside the button. Not sure if it exists for buttons.