如何解决iOS16系统app首次启动总是弹出允许粘贴提示框问题?
若你的页面不支持其它app唤醒你的app并传递参数的功能,直接在app启动函数清除粘贴板内容就可以:
@implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [UIPasteboard generalPasteboard].string = @"";