Lookback
IntroductionLookback should be +[Lookback setupWithAppToken:] before being used. After that, you can set its [Lookback enabled] property to start and stop recording at any time. You can use LookbackSettingsViewController to provide a user interface to do so. Rather than doing so manually, you can set -[Lookback shakeToRecord] to display this UI whenever you shake your device. MethodsenteredView:- (void)enteredView:(NSString*)viewIdentifier; ParametersDiscussionTrack user navigation manually, if automatic tracking has been disabled. See exitedView:- (void)exitedView:(NSString*)viewIdentifier; ParametersDiscussionTrack user navigation manually, if automatic tracking has been disabled. See logEvent:eventInfo:ParametersDiscussion* lookback+ (Lookback*)lookback; DiscussionDeprecated: use sharedLookback instead. This is because Swift disallows the use of a static method with the same name as the class that isn't a constructor. setupWithAppToken:+ (void)setupWithAppToken:(NSString*)appToken; ParametersDiscussionIn your applicationDidFinishLaunching: or similar, call this method to prepare Lookback for use, using the App Token from your integration guide at lookback.io. sharedLookback+ (Lookback*)sharedLookback; DiscussionShared instance of Lookback to use from your code. You must call +[Lookback setupWithAppToken:] before calling this method. Propertiesenabled@property(nonatomic) BOOL enabled; DiscussionWhether Lookback is set to recording. You can either set this programmatically, or use LookbackSettingsViewController to let the user activate it. framerateMultiplier@property(nonatomic) float framerateMultiplier; DiscussionLookback automatically sets a screen recording framerate that is suitable for your device. However, if your app is very performance intense, you might want to decrease the framerate at which Lookback records to free up some CPU time for your app. This multiplier lets you adapt the framerate that Lookback chooses for you to something more suitable for your app. Default value: 1.0 Range: 0.1 to 1.0 See paused@property(nonatomic, getter=isPaused) BOOL paused; DiscussionIs Lookback paused? Lookback will pause automatically when app is inactive. The value of this property is undefined if recording is not enabled (as there is nothing to pause). shakeToRecord@property(nonatomic) BOOL shakeToRecord; DiscussionIf enabled, displays UI to start recording when you shake the device. Default NO. userIdentifier@property(nonatomic, copy) NSString *userIdentifier; DiscussionIdentifier for the user who's currently using the app. You can filter on this property at lookback.io later. If your service has log in user names, you can use that here. Optional. See Also
|