BFUserFeedbackNavigationController

@interface BFUserFeedbackNavigationController : UINavigationController

Navigation View Controller containing a BFUserFeedbackNavigationController as rootViewController

  • Root View Controller containing a table with the textfields used to gather feedback

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        BFUserFeedbackViewController *_Nonnull feedbackViewController;
  • Provides a View Controller to gather the feedback of the users and sent it to Bugfender. The returning BFUserFeedbackNavigationController has to be presented modally and it has it’s own Send and Cancel buttons

    Additionally, it is possible to customize the aspect of the screen accessing BFUserFeedbackNavigationController.feedbackViewController

    Declaration

    Objective-C

    + (nonnull BFUserFeedbackNavigationController *)
        userFeedbackViewControllerWithTitle:(nonnull NSString *)title
                                       hint:(nonnull NSString *)hint
                         subjectPlaceholder:(nonnull NSString *)subjectPlaceholder
                         messagePlaceholder:(nonnull NSString *)messagePlaceholder
                            sendButtonTitle:(nonnull NSString *)sendButtonTitle
                          cancelButtonTitle:(nonnull NSString *)cancelButtonTitle
                                 completion:
                                     (nonnull void (^)(BOOL, NSURL *_Nullable))
                                         completionBlock;

    Parameters

    title

    Title for the navigation bar

    hint

    Short text at the beginning

    subjectPlaceholder

    placeholder in the subject textfield

    messagePlaceholder

    placeholder in the message textfield

    sendButtonTitle

    title for the send button in the navigation bar

    cancelButtonTitle

    title for the cancel button

    Return Value

    BFUserFeedbackNavigationController containing a BFUserFeedbackViewController as root view controller