1 min readOct 4, 2019
You should probably be using auto layout so you don’t need to get the frame. But layoutSubviews is a good place to set up frames. It might be called several times, with different sizes but a well-designed adaptive should work fine.