All Products
Search
Document Center

Recording status layer

Last Updated: May 13, 2021

AURecordFloatTip is a floating layer that displays the recording status. It provides users with more direct voice recording experience.

Sample image

API description

 
  1. @interface AURecordFloatTip : UIView
  2. @property (nonatomic, strong) UILabel *messageLabel; // The prompt for voice recording. Default value: Recording...
  3. // Show the floating layer.
  4. - (void)showRecodingInView:(UIView *)view;
  5. // Hide the floating layer.
  6. - (void)dismissRecordView;
  7. @end

Code sample

 
  1. AURecordFloatTip *_tipView = [[AURecordFloatTip alloc] init];
  2. [_tipView showRecodingInView:self.view];