ios - UIView animations are not working -
i'm using animations change frame of view fadein , fadeout.but not working. os:ios7
[uiview animatewithduration:0.8 animations:^{ [objarticletable setframe:cgrectmake(cgrectgetminx([objarticletable frame]), cgrectgetminy([objarticletable frame]), cgrectgetwidth([objarticletable frame]), 0)];}];
try this:
objarticletable.alpha = 0.0f; objarticletable.hidden = no; [uiview animatewithduration:0.5f animations:^{ objarticletable.alpha = 1.0; } completion:^(bool finished) { //done }];
Comments
Post a Comment