-3

I'm trying to achieve something like the below

enter image description here

Essentially i will need to have a single UIView that holds these objects one being the video from the user who posted and a reply function for a user to record and play back. The hard part for me is trying to get it to function similar to a message feed.

How could i approach designing this UIView so that i can have all the controls i need from MPMoviePlayerControl in one view for both recording and viewing the video?

Keeano
  • 309
  • 8
  • 33
  • 1
    This question is too broad, vague, and opinion based. Either one of those three makes it off-topic. Please redo this question so it is appropriate to SO. – rmaddy Jul 24 '14 at 23:47
  • This question is too broad, vague, and opinion based. Either one of these three makes it off-topic. Please redo this question so it is appropriate to SO. – Thomas Hobohm Aug 04 '14 at 01:01

2 Answers2

1

As suggested by Paulo, top half can be webView where video can be displayed. Also this can be AVPlayer(or AVPlayerLayer). Bottom half should use AVFoundation for image capture. That way you can have custom capture interface.

Timur Kuchkarov
  • 1,155
  • 7
  • 21
0

Your top half can use a subview with a UIWebview to run the videos from video sites like youtube. To capture video is more problematic Apple class UIImagepickerController will require fullscreen in iPhone and a popup window in iPads so the design you showed here is not workable unless you have a 3rd party video picker that can override Apple constraints. My suggestion is to just float a video record button (or use gestures) over a full screen UIWebview,

Paulo
  • 1,245
  • 10
  • 8