diff --git a/Classes/BITFeedbackComposeViewController.h b/Classes/BITFeedbackComposeViewController.h index 05307b96cb..1fce15b42e 100644 --- a/Classes/BITFeedbackComposeViewController.h +++ b/Classes/BITFeedbackComposeViewController.h @@ -33,6 +33,16 @@ /** View controller allowing the user to write and send new feedback + + To add this view controller to your own app and push it onto a navigation stack, + don't create the intance yourself, but use the following code to get a correct instance: + + [[BITHockeyManager sharedHockeyManager].feedbackManager feedbackComposeViewController] + + To show it modally, use the following code instead: + + [[BITHockeyManager sharedHockeyManager].feedbackManager showFeedbackComposeView] + */ @interface BITFeedbackComposeViewController : UIViewController diff --git a/Classes/BITFeedbackListViewController.h b/Classes/BITFeedbackListViewController.h index 28373bf73f..07b401d2c6 100644 --- a/Classes/BITFeedbackListViewController.h +++ b/Classes/BITFeedbackListViewController.h @@ -41,6 +41,17 @@ It is also integrates actions to invoke the user interface to compose a new messages, reload the list content from the server and changing the users name or email if these are allowed to be set. + + To add this view controller to your own app and push it onto a navigation stack, + don't create the intance yourself, but use the following code to get a correct instance: + + [[BITHockeyManager sharedHockeyManager].feedbackManager feedbackListViewController:NO] + + To show it modally, use the following code instead: + + [[BITHockeyManager sharedHockeyManager].feedbackManager feedbackListViewController:YES] + + This ensures that the presentation on iOS 6 and iOS 7 will use the corret design on each OS Version. */ @interface BITFeedbackListViewController : BITHockeyBaseViewController {