In my app , I check [UIPasteboard generalPasteboard].changeCount in
- (void)applicationDidBecomeActive:(UIApplication *)application
But I found that every time I press iPhone's Lock Screen button , this applicationDidBecomeActive will be called , and the changeCount value will alway be 0 this time
Why the applicationDidBecomeActive called for Lock Screen ? (My OS version is iOS16.1)
In my situation , I use this code to avoid the paste board check in locking screen(In fact ,the
pasteboardChangeCountwill be zero whenapplicationDidBecomeActiveis called in Lock Screen )