Wednesday 15 August 2012

objective c - How to properly implement video gallery in iOS -



objective c - How to properly implement video gallery in iOS -

i'm developing video gallery in iphone, videos shown on full-screen , can switch between them left/right swipe. swipe gesture initializes new view, same view, different video id, , on new initialized view i'm playing desired video according id.

i have 2 problems approach:

switching between videos take while, because takes time initialize new view, read video file scheme , start playing it. i can't find how add together smooth animated motion effect between videos, effect in native photos app can see both current , next/previous item while swiping (you hold finger on screen , items moves finger movement).

illustration of vision can shown here: http://i.imgur.com/uessedd.png (i can't post images unfortunately)

does can refer me info regarding these questions:

how images/videos gallery kind built? how can accomplish effect of motion during swipe? should re-initialize view or perform operation in same view?

in advance!

solved!

it can done using uiscrollview - should add together each video subview full-screen size frame scrollview, enable paging it, adjust contentsize , maintain go there.

ios objective-c animation video swift

No comments:

Post a Comment