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

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -