iOS development - blocking third-party input methods

To prohibit the use of third-party input methods in App, add the following code to AppDelegate:

#pragma mark =============== 屏蔽第三方输入法 =================
- (BOOL)application:(UIApplication *)application shouldAllowExtensionPointIdentifier:(NSString *)extensionPointIdentifier{
    
    

    return NO;
}

Guess you like

Origin blog.csdn.net/weixin_38201792/article/details/121748893