Home » iPhone, iPhone Programming, Programming

How to Change the height of a UIPageControl in XCode’s Interface Builder!

2 July 2011 720 views No Comment

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

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading ... Loading ...

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.