ios - iCarousel performance issue with UITableView (iPad master-detail UI) -
i using master-detail ipad ui: inside uisplitviewcontroller have left (master) side contain uitableviewcontroller, , right (detail) side contains icarousel. see attached image.
problem: when scrolling table view while carousel is still animating table view scrolls , decelerates smoothly, , icarousel scrolls in sluggish (that is, barely animating @ all) fashion.
what can 1 improve icarousel's animation "smoothness" when animating in concurrence table view animating/decelerating?
points consideration:
tested on ipad 1 (non-retina), ipad 4g (retina), , in simulator retina , non retina, same results in platforms.
it not seem matter whether first drag carousel , table or in other order, table view takes "precedence", , icarousel's smooth animation performance seems go *^&k!.
the problem timer drives animation, scheduled in default run loop mode, means timer won't fire while scroll in uiscrollview
(which table view inherits from). solve problem, have modify icarousel code (line 1737, startanimation
). add following:
[[nsrunloop currentrunloop] addtimer:_timer formode:nsrunloopcommonmodes];
Comments
Post a Comment