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

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -