UIView embedded in UIScrollView hides scroll indicators ?

2013-05-18 Thread Koen van der Drift
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

Re: UIView embedded in UIScrollView hides scroll indicators ?

2013-05-18 Thread Marcelo Alves
Did you forgot to set the contentSize for the UIScrollView? On 18/05/2013, at 14:43, Koen van der Drift koenvanderdr...@gmail.com 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

Re: UIView embedded in UIScrollView hides scroll indicators ?

2013-05-18 Thread Koen van der Drift
Yes, I did, but I may have made a mistake. I have this in viewDidLoad: self.scrollView.contentSize = CGSizeMake(320, self.myView.frame.size.height + self.tabBarController.tabBar.frame.size.height); I also found that if I add either self.scrollView.bounds = self.view.bounds; or

Re: UIView embedded in UIScrollView hides scroll indicators ?

2013-05-18 Thread David Duncan
On May 18, 2013, at 11:28 AM, Koen van der Drift koenvanderdr...@gmail.com wrote: Yes, I did, but I may have made a mistake. I have this in viewDidLoad: self.scrollView.contentSize = CGSizeMake(320, self.myView.frame.size.height + self.tabBarController.tabBar.frame.size.height); I also