i using iconic font (http://zavoloklom.github.io/material-design-iconic-font/cheatsheet.html) , using reply button button title. wondering how reflect button's title vertically. found lot of resources on rotating button image (objective c: how can rotate text uibutton , uilabel?), however, want reflect, not rotate. rotating image 180 degrees makes arrow upside down.
set scale transform of -100% axis want flip on. may need adjust frame effect want, depending on if arrow "on" reflecting surface or if want gap.
[self.mybutton.titlelabel settransform:cgaffinetransformmakescale(1, -1)];
Comments
Post a Comment