Questions tagged [handoff]

Handoff is a capability introduced in iOS 8 and OS X v10.10 that is designed to facilitate easy transfer of user activities among multiple devices associated with the same user.

Handoff is a capability introduced in iOS 8 and OS X v10.10 that is designed to facilitate easy transfer of user activities among multiple devices associated with the same user.

Handoff enables the user to switch from one device to another and continue an ongoing activity seamlessly, without needing to reconfigure each device independently. For example, if a user is browsing a long article in Safari on a Mac, he or she can move to a nearby iOS device that’s signed in to iCloud using the same Apple ID and choose to have the same webpage automatically opened in Safari on iOS, with the same scroll position as on the original device.

64 questions
14
votes
1 answer

Using Handoff with Watchkit to bring the iPhone app to the foreground

I have a simple project where the user taps a button on the Apple Watch and some audio plays on the iPhone, this is easy enough to do with the openParentApplication method and having the handleWatchKitExtensionRequest code in AppDelegate. However,…
ZhouW
  • 1,187
  • 3
  • 16
  • 39
13
votes
1 answer

How does one do a Native App to Web Browser Handoff?

I have read the documentation and I understand that using Handoff I can exchange data between a specific website and app. I have a curated list of items from various RSS feeds, all having links pointing to different websites. I would like to give…
user3539959
  • 383
  • 3
  • 15
11
votes
3 answers

NSUserActivity handoff not working for custom data

I'm trying to test out the iOS 8.1 handoff feature with NSUserActivity between my iPhone and my iPad. For this, I tried both implementing my own solution, and to use Apple's PhotoHandoff project. However, it's not working. If I provide a webpageURL,…
Claus Jørgensen
  • 25,882
  • 9
  • 87
  • 150
8
votes
0 answers

How to trigger NSUserActivity continuation (Universal Links opening) in the current app?

Universal Links in iOS9 use the Handoff mechanism to look at a link in an app instead of the browser: Whenever a Universal Link is clicked, iOS activates the corresponding app and calls -application:continueUserActivity:restorationHandler with a…
severin
  • 10,148
  • 1
  • 39
  • 40
7
votes
0 answers

Detecting if the app launched from Handoffs or Universal Links

Is there a reliable/correct way to determine in the application:continueUserActivity:restorationHandler: method if the app was opened as a in my app but I need to be able to distinguish the source without having to add anything to the URL. I've…
timgcarlson
  • 3,017
  • 25
  • 52
7
votes
1 answer

ios Handoff missing NSUserActivity in launchOptions?

I have implemented Handoff in our App and it is working fine for web to app handoff and vice versa, when the app is running in foreground or in the background. However if the app is not running, then if the user launches the app from a web to app…
Lefteris
  • 14,550
  • 2
  • 56
  • 95
7
votes
2 answers

How to setup Web Browser–to–Native App Handoff in iOS 8

I am trying to setup Web Browser–to–Native App Handoff but not having any luck. I am sure I am just missing a step. Here is what I have done Updated my bundleId with the Associated Domains option and generated new provisioning profiles on the dev…
respectTheCode
  • 42,348
  • 18
  • 73
  • 86
6
votes
0 answers

watchOS 6 and iOS 13 NSUserActivity Handoff Not Working

Since updating to iOS 13 and watchOS 6, I am unable to get the Handoff feature working from Apple Watch to iPhone for any apps that I build. The feature was previously working on my existing custom built apps, but is no longer working since the OS…
de3z1e
  • 411
  • 4
  • 8
5
votes
1 answer

Hand Off between iOS and Mac device is not working

I am implementing both iOS and Mac applications. I implemented Hand Off feature in both applications. When I test implementation it works well when: start on iOS app and continue on iOS app start on iOS app and continue on Mac app But it doesn't…
Anton Chuiko
  • 235
  • 2
  • 10
5
votes
2 answers

Can't handoff from Mac to iOS, even though handoff from iOS to Mac works fine

I'm trying to implement Handoff between a Mac OS app and an iOS app. It works fine when the iOS app is in the foreground -- the "Continue Activity" icon shows up in the dock on the Mac. However I can't get the "Continue Activity" icon to show up on…
Trevor Alyn
  • 687
  • 2
  • 8
  • 20
5
votes
1 answer

Facebook SDK ios v4.4.0 didFinishLaunchingWithOptions

I have implemented Facebook SDK in my iOS app following the Facebook guidelines and in my AppDelegate I set: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ // more code return…
agy
  • 2,804
  • 2
  • 15
  • 22
5
votes
1 answer

iOS handoff from phone to macbook safari/chrome

I want to send a URL from my app to open on a laptop web browser using handoff. I have added the activity type to my app's NSUserActivityTypes. here is my code so far: - (void)startHandoff { NSUserActivity *activity = [[NSUserActivity alloc]…
Halpo
  • 2,982
  • 3
  • 25
  • 54
5
votes
1 answer

Handoff not working from native app to website

My devices: iPad Mini (latest), iOS 8 dp5. Macbook Air, Yosemite dp5. I have Handoff working between the two above devices. Safari, Mail, Messages, Calendar, etc. all handoff with no problems. I can even handoff between my website on the Air and…
djibouti33
  • 12,102
  • 9
  • 83
  • 116
4
votes
1 answer

Do I need the mac developer program to enable handoff?

Do I need a mac developer program to enable handoff between an osx app and an ios one? I have both done but while from ios to osx works without problems, the opposite way seems not working (iOS device can't see the mac). With two iOS devices my code…
zerbfra
  • 190
  • 12
4
votes
1 answer

iOS8 Handoff - Example project

Having watched the WWDC video I'm keen to adopt handoff in one of my apps, the concept looks easy but the handoff's are not appearing on my other devices, other Apple handoff's are working. I'm guessing my problem relates to the entries in my…
Duncan Hill
  • 547
  • 2
  • 5
  • 16
1
2 3 4 5