QLPreviewController - Implementation as in DocInteraction sample
QLPreviewController - Implementation as in DocInteraction sample
- Subject: QLPreviewController - Implementation as in DocInteraction sample
- From: Devarshi Kulshreshtha <email@hidden>
- Date: Sun, 29 Sep 2013 18:37:09 -0500
I have a tab bar based app,on tap of each tab bar item, I am showing a
navigation controller. In root view controller, I am showing a list of
files. Once user taps a row, I am pushing a UIViewController. So content
area appears between the navigation bar and the tab bar.
I am trying to integrate the QLPreviewController in my app such that:
a. It behaves exactly the same way as in DocInteraction sample.
b. In the DocInteraction sample code, if it is a video file, it shows a
progress bar at top (below the navigation bar). I also want to display the
same.
c. In the DocInteraction sample code, if it is a video file, it shows play
button over the video displayed. I also want to display the same.
d. In the DocInteraction sample code, if it is a video file, it shows
pause button over the toolbar at bottom. I also want to display the same,
but on different location say on right side of navigation bar.
Problem is: I tried to integrate QLPreviewController in my app using below
code, but in that case it is not working as expected. Also because of tab
bar at bottom, it is hiding the options to play/pause video.
In DocInteraction sample code, it is not clear that how did they customize
it. It seems too simple but it does not behave as same :-(
My questions are:
1. In my app, how can I move the default menu so that it appears above tab
bar.
2. How can I implement the points: b, c, d, which I specified above?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden