AURecordFloatTip is a floating layer that displays the recording status. It provides users with more direct voice recording experience.
Sample image
API description
@interface AURecordFloatTip : UIView
@property (nonatomic, strong) UILabel *messageLabel; // The prompt for voice recording. Default value: Recording...
// Show the floating layer.
- (void)showRecodingInView:(UIView *)view;
// Hide the floating layer.
- (void)dismissRecordView;
@end
Code sample
AURecordFloatTip *_tipView = [[AURecordFloatTip alloc] init];
[_tipView showRecodingInView:self.view];