-1

How can somebody open an Apple Watch app using Swift, assuming the parent iPhone app is running in the background, without getting the below error?

Error Domain=com.apple.healthkit Code=550 "Cannot start watch app when phone app is in background" UserInfo={NSLocalizedDescription=Cannot start watch app when phone app is in background}
user1585762
  • 59
  • 1
  • 6
  • 2
    What is unclear about the error message? You can't start the watch app when your app is in the background; this would be a bad user experience since the watch would suddenly do something without the user expecting it. – Paulw11 Oct 23 '17 at 23:37

1 Answers1

1

You can't. The error message clearly states that this is something the API intends to prevent you from doing.

Allan
  • 7,039
  • 1
  • 16
  • 26