Re: UIView embedded in UIScrollView hides scroll indicators ?
Re: UIView embedded in UIScrollView hides scroll indicators ?
- Subject: Re: UIView embedded in UIScrollView hides scroll indicators ?
- From: Marcelo Alves <email@hidden>
- Date: Sat, 18 May 2013 14:50:19 -0300
Did you forgot to set the contentSize for the UIScrollView?
On 18/05/2013, at 14:43, Koen van der Drift <email@hidden> wrote:
> In IB I created an UIView embedded in an UIScrollView. They both fill up
> the screen and are 320 px wide. Scrolling works just fine, but the scroll
> indicators are invisible. I triple checked the checkboxes in IB, and both
> "Scrolling Enabled" and "Shows Vertical Scrollers" are on. To be super
> sure I added this to my VC:
>
> self.scrollView.scrollEnabled = YES;
>
> self.scrollView.showsVerticalScrollIndicator = YES;
>
> I tried making the UIView a little less wide (300px), but I still don't see
> the scroll indicators.
>
> What did I miss to make them appear?
>
> Thanks,
>
> - Koen.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden