2

I have a scrollview that displays a bunch of images. When choosing the current image in the scrollview, it will push to a new view (using a navigation controller).

My problem is when I push, I see the next imageview of the scrollview overlaps the new view before it dismisses (like ghost). I know that's because of: "scrollView.clipsToBounds = NO". But I want to set this attribute to NO because I wanna see a part of last image and next image in the scrollview. Thanks for your help.

4

1 回答 1

0

克服此问题的一种可能方法(一种技巧)是在推送新视图之前隐藏 scrollView 控制器,当您返回此视图时再次使用以下命令显示滚动视图:

scrollView.hidden  = NO;
于 2013-05-20T04:22:39.647 回答