BFUserFeedbackViewController
Objective-C
@interface BFUserFeedbackViewController : UITableViewController
Swift
class BFUserFeedbackViewController : UITableViewController
BFUserFeedbackViewController provides a basic and configurable view controller to gather feedback from the users
-
The background of the view controller
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull mainBackgroundColor;Swift
var mainBackgroundColor: UIColor { get set } -
Background for textfields
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull secondaryBackgroundColor;Swift
var secondaryBackgroundColor: UIColor { get set }
-
The hint is the upper text in the view controller. Use the hint give instructions to your users or just to thank them for providing feedback
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull hint;Swift
var hint: String { get set } -
Font from the hint
Declaration
Objective-C
@property (nonatomic, strong) UIFont *_Nonnull hintFont;Swift
var hintFont: UIFont { get set } -
Font color from the hint
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull hintFontColor;Swift
var hintFontColor: UIColor { get set }
-
The subject of the feedback. Remember to provide a placeholder
Declaration
Objective-C
@property (nonatomic, strong) UIFont *_Nonnull subjectFont;Swift
var subjectFont: UIFont { get set } -
Font color from the subject textfield
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull subjectFontColor;Swift
var subjectFontColor: UIColor { get set } -
Font color for the placeholder of the subject textfield
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull subjectPlaceholderFontColor;Swift
var subjectPlaceholderFontColor: UIColor { get set } -
Subject placeholder
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull subjectPlaceholder;Swift
var subjectPlaceholder: String { get set }
-
The message of the feedback Remember to provide a placeholder
Declaration
Objective-C
@property (nonatomic, strong) UIFont *_Nonnull messageFont;Swift
var messageFont: UIFont { get set } -
Message font color
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull messageFontColor;Swift
var messageFontColor: UIColor { get set } -
Message placeholder font color
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull messagePlaceholderFontColor;Swift
var messagePlaceholderFontColor: UIColor { get set } -
Message placeholder
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull messagePlaceholder;Swift
var messagePlaceholder: String { get set }
-
Hide view controller
Declaration
Objective-C
- (void)dismiss;Swift
func dismiss() -
Send feedback to Bugfender
Declaration
Objective-C
- (void)sendFeedback;Swift
func sendFeedback() -
Pass a block if you want to be notified after feedback was sent (or not)
Declaration
Objective-C
@property (nonatomic, copy) void (^_Nonnull)(BOOL, NSURL *_Nullable) completionBlock;Swift
var completionBlock: (Bool, URL?) -> Void { get set }
View on GitHub
BFUserFeedbackViewController Class Reference