Inherits from UIViewController
Declared in TKFeedbackController.h

Overview

Represents a view controller that should be placed on top of your view controller hierarchy. This way it can detect a shake gesture and initiate the feedback process automatically.

Properties

contentController

The view controller that contain root view controller (read-only).

@property (nonatomic, strong) UIViewController *contentController

Declared In

TKFeedbackController.h

dataSource

The data source used to provide the feedback service and storage.

@property (nonatomic, strong) id<TKFeedbackDataSource> dataSource

Declared In

TKFeedbackController.h

showOnShake

Defines whether the controller’s built-in action sheet will shown on shake the device.

@property (nonatomic) BOOL showOnShake

Declared In

TKFeedbackController.h

Instance Methods

initWithContentController:

Initializes the feedback controller.

- (instancetype)initWithContentController:(UIViewController *)contentController

Parameters

contentController

The view controller that can be used as a root view controller in the application.

Declared In

TKFeedbackController.h

sendFeedback

Takes a snapshot of the current application screen and creates a new feedback item ready to be added and sent/saved to the data source provider.

- (void)sendFeedback

Declared In

TKFeedbackController.h

showFeedback

Shows the built-in feedback action sheet (‘Send Feedback’, ‘Your Feedback’, ‘Settings’)

- (void)showFeedback

Declared In

TKFeedbackController.h