添加部分埋点

This commit is contained in:
2025-12-25 17:20:24 +08:00
parent 5b6e0a8fbf
commit 1af5a0e849
8 changed files with 201 additions and 1 deletions

View File

@@ -193,6 +193,7 @@ static void *KBPermPlayerPresentationSizeContext = &KBPermPlayerPresentationSize
}
- (void)openSettings {
[self report];
NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
UIApplication *app = [UIApplication sharedApplication];
if ([app canOpenURL:url]) {
@@ -285,6 +286,13 @@ static void *KBPermPlayerPresentationSizeContext = &KBPermPlayerPresentationSize
[super observeValueForKeyPath:keyPath ofObject:object change:change context:context];
}
#pragma mark - network
- (void)report{
[[KBMaiPointReporter sharedReporter] reportNewAccountWithType:@"键盘申请授权" account:nil completion:^(BOOL success, NSError * _Nullable error) {
}];
}
#pragma mark - Lazy Subviews
- (UIButton *)backButton {