How to Change the height of a UIPageControl in XCode’s Interface Builder!
Many sources state that you cannot change the height of a UIPageControl from within xcode, however the PageControl code sample from Apple demonstrates otherwise.
In this sample the UIPageControl features an editable height component, and you may also notice that whilst looking through the identity inspector, that there are also accessibility options.
This is because they have used a View (UIView) object from the library and changed the class type to a UIPageControl (naughty! – I swear I read somewhere in the documentation not to do this!) but the icon was the giveaway – I’ve since tried and it works…
Once changed you’ll notice that you have access to the y-axis control within the size inspector – … yay!
Hope this helps some(one, where, day, how)!
Daron









Leave your response!