MXFileViewController Class Reference

Inherits from UIViewController
Declared in MXFileViewController.h

Overview

The MXFileViewController class provides UI components for presenting contents of a file. You should specify a chat when initializing so that the view controller could know whose content it should present.

  fileItem

The file item whose content the view controller should present.

@property (nonatomic, strong) MXFileItem *fileItem

Declared In

MXFileViewController.h

– initWithFileItem:

Initialize a chat view controller with a specified chat.

- (instancetype)initWithFileItem:(MXFileItem *)fileItem

Parameters

fileItem

The related file item.

Return Value

Return a newly initialized file view controller.

Declared In

MXFileViewController.h