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;"

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top