uiscrollview - CALayer with Animation on Scroll View -
so, have calayer added uiscrollview path animations. in application, resize scroll view , shift create "negative" region. using contentoffset uiscroll views, subviews shifted , there no flashing effect. however, when lines on calayer shifted, there flashing effect because drawn in "negative" area first, shifted over.
this happening animation @ first, used catransaction -begin , -commit remove animation. flashing still occurring though because lines still drawn , moved.
is there anyway solve with? in advance.
edit: figured out way fix this. before, adding each animation animation layer, added uiscrollview. instead, added each animation directly uiscrollview , shift layers appropriately before. catransaction -begin , -commit still needed remove sort of animation of shift.
i figured out way fix this. before, adding each animation animation layer, added uiscrollview. instead, added each animation directly uiscrollview , shift layers appropriately before. catransaction -begin , -commit still needed remove sort of animation of shift.
Comments
Post a Comment