ios - How to make the scrolling animation on a view -
so have uiscrollerview... each time 5 seconds passes scrollview should move up.
setcontentoffset working doesnt have animation. should move slowly.
my code below
cgpoint bottomoffset = cgpointmake(0, newylocationforscrollview);
[scroll setcontentoffset:bottomoffset animated:yes];
thanks in advance
[uiview animationwithduration0.3f ^(void) { // code transition }];
[scrollview setcontentoffset:offset animated:yes];
Comments
Post a Comment