public interface QLPreviewControllerDataSource
| Modifier and Type | Method and Description |
|---|---|
long |
numberOfPreviewItemsInPreviewController(QLPreviewController controller)
Returns the number of items that the preview controller should preview.
|
QLPreviewItem |
previewControllerPreviewItemAtIndex(QLPreviewController controller,
long index)
Returns the item that the preview controller should preview.
|
long numberOfPreviewItemsInPreviewController(QLPreviewController controller)
controller - The Preview Controller.QLPreviewItem previewControllerPreviewItemAtIndex(QLPreviewController controller, long index)
controller - The Preview Controller.index - The index of the item to preview.