Creating your own tickets view is easy. Using the API you can get a list of your tickets or community tickets and build a totally custom view.
When building a custom view, you will want to put up an R2ChatViewController when a ticket gets selected
#import "R2ChatViewController.h" ... R2ChatViewController *vc = [[R2ChatViewController alloc]init]; [self.navigationController pushViewController:vc animated:YES];
let vc = R2ChatViewController() self.navigationController?.pushViewController(vc, animated: true)
R2ChatViewController has variables to enable and disable features based on your desired functionality.
Setting enableClose to NO will hide the close button so that the ticket can’t be closed from the view.
Setting enableCall to NO will hide the call button so that a call can’t be initiated from within the view.
Setting enableFollow to NO will hide the follow button so that the ticket can’t be followed from the view.
Setting enableClose to YES will show the reporting button so that the ticket can be flagged as inappropriate from the view. This property defaults to NO.
Custom Banner View
The custom banner view is an optional view that sits under the navigation bar, it is 100px tall and full width.