Swift : Change size of UIButton programmatically -


i have uibutton in storyboard , trying change frame programmatically not working, nothing changing. ive tried this:

        button.layer.frame = cgrectmake(0, 0, 50, 50) 

any idea why isn't working , how can work?


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

Redirect to a HTTPS version using .htaccess -