uitableview - How to manually trigger "Scroll to top" for active scrollview component on iOS? -


i know how manually scroll uitableviewor uiscrollview top.

i trying replicate behaviour of tapping uistatusbar automatically finds active view can scrolled top , scrolls top.

so, want same, without knowing uiscrollview subclass active , can scrolled top.

is there public nsnotification this, or other public method?

[self.scrollview setcontentoffset:cgpointzero animated:yes];

update should traverse view hierarchy or responder chain , first item of class uiscrollview responds yes scrollstotop (or if delegate implements scrollviewshouldscrolltotop: , returns yes) candidate automatic scrolling


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -