Re: Hide UINavigationBar and keep UIPageController content static
Re: Hide UINavigationBar and keep UIPageController content static
- Subject: Re: Hide UINavigationBar and keep UIPageController content static
- From: Kyle Sluder <email@hidden>
- Date: Tue, 27 Oct 2015 11:51:27 -0600
- X_v_e_cd: 35dce90d92c8e686ce3a24c442b0eda6
- X_v_r_cd: 22804b138fd3909839a704e5ece13e28
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.
>
> And setting the automaticallyAdjustsScrollViewInsets to false helps, and
> I can now go back to drawing the content under the top bars and the
> content stays put while the bar animates up and down.
>
> Thanks again guys for your expert insight.
You're welcome. You can pay me back by filing a bug about this issue
with an attached sample project. :P
--Kyle Sluder
_______________________________________________
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