Another useless feature we didn't ask for now screwing up the QA of my app.
How to I turn this **** thing off and opt out of it for my app!?
My app accesses general clipboard at regular intervals to update UI state. Thanks to the stupid poorly-implemented universal clipboard, these calls freeze my up for multiple seconds!!
Method that used to work just fine:
-(BOOL) isClipboardEmpty
{
UIPasteboard *cb = [UIPasteboard generalPasteboard];
NSArray *pasteBoardTypes = [cb pasteboardTypes];
if([pasteBoardTypes containsObject:@"vertostudioentity"] && !glView.sceneManager->isEditModeOn())
{
return NO;
}
else if([pasteBoardTypes containsObject:@"vertostudiomesh"] && glView.sceneManager->isEditModeOn())
{
return NO;
}
else if(cb.image)
{
return NO;
}
return YES;
}Apple - please stop releasing software without proper QA