Universal clipboard keeps temporarily freezing up my app!!!

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

Also, don't tell me to use named pasteboards. That isn't a solution. My app shares clipboard data with a partner ACROSS vendors.

Sigh. Looks like named pasteboards are the only way around this....


What i do is use those via objc category, then mirror the data to general pasteboard at critical points where it must be shared externally.

Universal clipboard keeps temporarily freezing up my app!!!
 
 
Q