is there way force facebook login button displays "log in" opposed "log in facebook"? below looks on iphone 6

and below on iphone 6 plus

i have briefly looked @ facebook sdk on github , have failed come solution. facebook looks @ width of button displays appropriate text. don't want text overrun on iphone 6 plus.
there's easy way customize text of fbsdkloginbutton. here go:
var fbbutton = fbsdkloginbutton() var titletext = nsattributedstring(string: "your new button title") fbbutton.setattributedtitle(titletext, forstate: uicontrolstate.normal)
Comments
Post a Comment