Re: Hide UINavigationBar and keep UIPageController content static

2015-10-27 Thread Stevo Brock
Hi David and Kyle, Thanks so much for the insight and pointers. I was manually calling setNeedsDisplay() when toggling the navigation bar hidden, and now I can remove that and just set the contentMode to .Redraw. That’s great. And setting the automaticallyAdjustsScrollViewInsets to false

Re: Hide UINavigationBar and keep UIPageController content static

2015-10-27 Thread Kyle Sluder
On Tue, Oct 27, 2015, at 11:49 AM, Stevo Brock wrote: > Hi David and Kyle, > > Thanks so much for the insight and pointers. > > I was manually calling setNeedsDisplay() when toggling the navigation bar > hidden, and now I can remove that and just set the contentMode to > .Redraw. That’s great.

Re: Hide UINavigationBar and keep UIPageController content static

2015-10-25 Thread David Duncan
> On Oct 24, 2015, at 10:23 AM, Kyle Sluder wrote: > > On Tue, Oct 20, 2015, at 11:21 AM, Stevo Brock wrote: >> The trick is, if in the storyboard, on the UIPageController, I set the >> “Under Top Bars” to yes, my custom view draws full screen. But when I >> toggle the

Re: Hide UINavigationBar and keep UIPageController content static

2015-10-24 Thread Kyle Sluder
On Tue, Oct 20, 2015, at 11:21 AM, Stevo Brock wrote: > The trick is, if in the storyboard, on the UIPageController, I set the > “Under Top Bars” to yes, my custom view draws full screen. But when I > toggle the navigationBarHidden, the custom view and its superview scroll > up and down the size

Hide UINavigationBar and keep UIPageController content static

2015-10-20 Thread Stevo Brock
I have what I hope to be an easy-to-solve situation, but so far that solution has been elusive. Rather basic setup… UIPageController subclass in a storyboard. All I have in the storyboard is the UIPageController and its associated Navigation Item. In UIPageController viewDidLoad, I create a

Hide UINavigationBar and keep UIPageController content static

2015-10-16 Thread Stevo Brock
I have what I hope to be an easy-to-solve situation, but so far that solution has been elusive. Rather basic setup… UIPageController subclass in a storyboard. All I have in the storyboard is the UIPageController and its associated Navigation Item. In UIPageController viewDidLoad, I create a