Question

I have a full screen UIScrollView to display my image. And the scroll view recognize long press gesture. After long pressing on the scrollview, an action sheet shows up. If i add the action sheet to the window, it will not rotate while I am rotating the screen. If i add it to the scroll view, it rotates but not that good when the scroll view has been zoomed or scrolled. Is it possible to rotate the action sheet well regardless of the scrolling and zooming of the scroll view?

ps. the scroll view is directly add to the window by "self.view = myScrollView;"

Était-ce utile?

La solution

Adding the scrollView to the rootviewcontroller or the parent view on which scrollview resides would be better and solve you problem.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top