adds public method to handle user input from an alert view

This commit is contained in:
Lukas Spieß
2014-04-16 12:50:45 +02:00
parent 50b0eb9bd1
commit 9f9f44916a
2 changed files with 47 additions and 27 deletions

View File

@@ -247,6 +247,11 @@ typedef NS_ENUM(NSUInteger, BITCrashManagerUserInput) {
*/
@property (nonatomic, readonly) BOOL didCrashInLastSession;
/**
Provides an interface to handle user input from a custom alert
@return BOOl if the input is a valid option
*/
- (BOOL)handleUserInput: (BITCrashManagerUserInput) userInput;
/**
Provides the time between startup and crash in seconds