ios - Control scrollview programmatically — Objective-c -


i have scrollview buttons on it. when 1 button clicked want on top of screen button.frame.origin.y self.view.frame.origin.y. how do this?

you can this

- (void)buttonpressed:(uibutton*)sender {     [scrollview setcontentoffset:sender.frame.origin animated:yes]; } 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -