handoff

Handoff not working from native app to website

a 夏天 提交于 2019-12-21 05:15:22
问题 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 my native app on the iPad. What I can't do yet is go from my native app on the iPad to my website in Safari on my Air. For the first view controller that loads in my native app, I have this: - (void)viewDidLoad { [super viewDidLoad]; NSUserActivity

Sirikit and parent app communication in ios 10 : Handoff

依然范特西╮ 提交于 2019-12-11 23:18:17
问题 I am using Sirikit to integrate with my payment domain app where I need to interact with the app. I read Apple documentation, they asked to use common frameworks. Is it possible to use handoff? if yes then how? How can I call the other viewController which is in parent app from sirikit? I will really appreciate for any help. Thanks 回答1: Check SiriKit Programming Guide, To use handoff, You can create intent response object with NSUserActivity object. While creating NSUserActivity object assign

Handoff and Universal Links failed on iOS 9

对着背影说爱祢 提交于 2019-12-09 13:56:15
问题 I am setting up my apple-app-site-association file follow this tutorial: Handoff works on iOS 8 but handoff does not work on iOS 9. I setup a free hosting site and upload the apple-app-site-association file onto the root of website: universallink.net46.net 1. I created a JSON file and named it handoff.json: { "activitycontinuation": { "apps": ["XXXXXXXXXX.com.home.handoff"] }, "applinks": { "apps":[], "details": { "XXXXXXXXXX.com.home.handoff": { "paths":["*"] } } } } The XXXXXXXXXX here is

NSUserActivity handoff not working for custom data

浪子不回头ぞ 提交于 2019-12-06 21:33:52
问题 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 , the handover works fine, but when I try to use userData or addUserInfoEntriesFromDictionary nothing works, and I can't for the life of me figure out what the catch is to make the data work. Sample code: NSUserActivity *activity = [[NSUserActivity

Handoff and Universal Links failed on iOS 9

扶醉桌前 提交于 2019-12-03 23:07:12
I am setting up my apple-app-site-association file follow this tutorial: Handoff works on iOS 8 but handoff does not work on iOS 9. I setup a free hosting site and upload the apple-app-site-association file onto the root of website: universallink.net46.net 1. I created a JSON file and named it handoff.json: { "activitycontinuation": { "apps": ["XXXXXXXXXX.com.home.handoff"] }, "applinks": { "apps":[], "details": { "XXXXXXXXXX.com.home.handoff": { "paths":["*"] } } } } The XXXXXXXXXX here is the team id of the Distribution provisioning profile I used Keychain Access app to export a iPhone

Handoff not working from native app to website

妖精的绣舞 提交于 2019-12-03 15:46:37
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 my native app on the iPad. What I can't do yet is go from my native app on the iPad to my website in Safari on my Air. For the first view controller that loads in my native app, I have this: - (void)viewDidLoad { [super viewDidLoad]; NSUserActivity *webHandoff = [[NSUserActivity alloc] initWithActivityType:@"com.myApp.iphone.staging.webbrowsing"];