One of my tab bar’s items is UIViewController representing UIScrollView. Once the scroll view is created I need to setContentSize, but I don’t know how to calculate size from its controller, considering tab bar area. I would consider to avoid hard coding.
One of my tab bar’s items is UIViewController representing UIScrollView . Once the scroll
Share
Look at the frame of your tab bar controller, and your UIScreen applicationFrame do some math. The difference in the subtraction will be how much space you have to work with.