Allow users to start an activity on one device and seamlessly resume the activity on another device running iOS, iPadOS, or macOS using Handoff.

Handoff Documentation

Posts under Handoff tag

16 Posts
Sort by:
Post not yet marked as solved
48 Replies
8.8k Views
Upgrade to Monterey 12.3 couple days ago on my MacBook Air 2020. Since then, my bluetooth headphones and BT mouse are lagging, randomly disconnecting and reconnecting every few minutes or so. As this has never happened before the upgrade, I thought it was quite unusual. Anybody else with similar issues or any fixes?
Posted
by grzb0.
Last updated
.
Post not yet marked as solved
2 Replies
430 Views
Lost Universal control on M1 Mac Mini I have an M1 Mac Mini, Macbook Pro and iPad Pro all running the latest beta software (12.3 beta2). After rebooting my BT Broadband router I can no longer use my mac mini with Universal control. The Macbook and ipad are still working fine. Macbook can see and work with the ipad but can't see the mini and the Mini can see the Macbook to share its screen with but not Universal control and can't see the ipad at all. No VPN's being used, all on the same network sat next to each other and working fine yesterday. I've restarted all the machines with no luck. Can anyone help?
Posted
by perkstvr3.
Last updated
.
Post not yet marked as solved
1 Replies
563 Views
I am using scenes and setting up Handoff between a Mac and iPad/iOS application. Whenever I receive the user activity on the iPad, targetContentIdentifier is always nil. I've confirmed that things like userInfo and persistentIdentifier are coming through by outputting them in func scene(_ scene: UIScene, continue userActivity: NSUserActivity), but without the targetContentIdentifier is always empty. Without it, I can't use the activation condition's and proper scene isn't being selected by iOS... is there something beyond setting it and marking an activity as eligible for handoff that I am missing?
Posted Last updated
.
Post not yet marked as solved
8 Replies
3.0k Views
My handoff/airplay devices are iPone 12 Pro (IOS 14.2.1), iPhone X(iOS 14.2), M1 MacBook Pro 2020 (Big Sur 11.0.1) and apple watch series 5.  iPhone 12 Pro and iPhone X can detect handoff from each other;But they both can't detect handoff from MacBook Pro(Big Sur 11.0.1).  I've tried all troubleshooting in all devices. 
Posted Last updated
.
Post not yet marked as solved
1 Replies
609 Views
After following a tutorial about how to use SwiftUI in combination with Handoff I got this as result, but this isn't working for me. After trying a lot it seems like the OnContinueUserActivity is not called. The icon for handoff shows but once clicked on it, nothing happens. How can I fix this? import SwiftUI struct Board: View { 		@State var BoardId: String 				 		 		var body: some View { 				VStack{ 						Text("Board: \(BoardId)") 				}.onContinueUserActivity("bundleIdentifier.Board", perform: { userActivity in print("Handoff starting...") 						if let Board = userActivity.userInfo?["Board"] as? String { 								// Load handoff page 								self.BoardId = Board 								 						} 						 						logUserActivity(userActivity, label: "on activity") 				}) 				.userActivity("bundleIdentifier.Board", element: BoardId) {Board, activity in 						let bundleid = Bundle.main.bundleIdentifier ?? "" 												 						activity.addUserInfoEntries(from: ["Board": BoardId, 																													 "setby": bundleid]) 						logUserActivity(activity, label: "activity") 				} 				 		} } struct Board_Previews: PreviewProvider { 		static var previews: some View { 				Board(BoardId: "NaN") 		} } func logUserActivity(_ activity: NSUserActivity, label: String = "") { 		print("\(label) TYPE = \(activity.activityType)") 		print("\(label) INFO = \(activity.userInfo ?? [:])") }
Posted
by rubenvds.
Last updated
.
Post marked as solved
2 Replies
1.7k Views
Hey guys, I've updated my iPad Pro 2018 to iPadOS15.4 beta 3 and my MacBook Air to macOS Monterey 12.3 beta 3.  The Universal Control works for cross-device trackpad and keyboard. But I can't drag and drop files between these two devices. When I drag a photo from my MacBook to iPad, I can actually see the file icon appear on the verge of iPad screen but it will soon disappear. And when I try to do the other way around, the Mac doesn't even show anything. So I'm wondering whether it's a bug or it's due to my settings?  Have anyone experienced this problem yet?
Posted Last updated
.
Post not yet marked as solved
0 Replies
282 Views
i updated my iPad Pro 2018 to the latest 15.4 beta 2 and my M1 Macbook pro to 12.3 beta 2 but still i can’t get univesal control to work on my devices both of them have the same icloud account wifi and bluetooth enabled on both both are on the same wifi network handoff enabled on both univesal control setting (allow mouse ….) enabled on both i really need it, please help
Posted
by oussbkt.
Last updated
.
Post not yet marked as solved
1 Replies
199 Views
Handoff not working for Pages, Numbers or Keynote. It is working as expected with other native apps such as Safari, Notes, Maps, Contacts etc And I do not have any luck asking this question over in Apple Support Communities run by Apple Support. I am on beta Monterey. SOMEONE HELP ME!!!
Posted Last updated
.
Post not yet marked as solved
1 Replies
198 Views
Handoff not working for Pages, Numbers or Keynote. It is working as expected with other native apps such as Safari, Notes, Maps, Contacts etc
Posted Last updated
.
Post not yet marked as solved
0 Replies
236 Views
Hi, I'm just wondering if there is a way to open a safari page from the iOS app I am developing with Swift. The link property could be used in this scenario but I want to emphasize that the page must be open on macOS. So basically what I want is like the handoff feature of Apple but mixed with the link property. Maybe I could open a page using link structure but kinda not display it? Is there any workaround you can think of?
Posted Last updated
.
Post not yet marked as solved
0 Replies
329 Views
When tapping the Handoff icon of my app on the Mac or on the iPad, Xcode logs this error: [default personal] [ERROR] +[NSURL(BRAdditions) br_documentURLFromBookmarkableString:error:]: (passed to caller) error: Error Domain=BRCloudDocsErrorDomain Code=8 "Not Entitled" UserInfo={NSDescription=Not Entitled} When setting a breakpoint at NSApplicationDelegate.application(_:continue:restorationHandler:), I can see that userInfo.activityType is the one specified with the key NSUbiquitousDocumentUserActivityType under the Info.plist Document Types, but userActivity.userInfo is empty, so the document url is apparently not sent. Is there something else I have to set up?
Posted
by Nickkk.
Last updated
.
Post not yet marked as solved
1 Replies
322 Views
Hi there, After many research, I come here to find, I hope, a solution. Handoff doesn't work anymore between my MBP and my other devices : When I used some compatible apps on my iPad and iPhone, it appear in the dock on my MBP, but no the opposite, when Messages is open on my MBP, nothing come in the dock on my iPad or on my iPhone. I try a clean install of Monterey, change my apple password, reset the keychain in iCloud, nothing works. If someone had an idea, I will be glad to read it. Regards, Christophe
Posted
by letofzh.
Last updated
.
Post not yet marked as solved
0 Replies
451 Views
Hi! I've been working on a watch app/watch app extension for my iOS app. This app doesn't support running without an iOS app installation. It requires an app to work, it exposes certain controls to execute actions when the counterpart app (iOS app) is opened. I would like to add a similar interaction like the watchOS camera app and the iOS camera app have: when the iOS app is not active, for example in the background or not opened, show a button in the watch app to open the counterpart app in the foreground. I've been reading many posts about opening a counterpart app, and it looks like it is not possible, unless using Notifications, so it's the user that starts the action and put the app in the foreground. Some other developers suggests using Handoff, or WatchConnectivity sendMessage with reply handler. I haven't found a way to process an incoming message and transition the iOS app from background to foreground programmatically, not even with custom URLs. Is it possible for a third-party app not Apple built-in to have a similar experience like camera watchOS and iOS apps? Which APIs and mechanism should I use to achieve that behavior? Thanks!
Posted Last updated
.
Post not yet marked as solved
0 Replies
371 Views
After upgrading to iOS15 Beta I saw excessive data consumption from NOTES wherein I did not use it at all and iCloud backup in mobile data is turned off! When I turned off mobile data access for NOTES I saw similar with McAfee Safe Connect which was always running in background. Can someone explain why?
Posted
by Sri1812.
Last updated
.
Post not yet marked as solved
0 Replies
505 Views
Hello every body, I've updated macOS 12 and iPadOS 15 to the firth beta released this week, and in the release notes is written that universal control is now available. I own an M1 MacBook Air and an 8th generation iPad and I use VoiceOver on my Mac, since I'm totally blind. I noticed that Universal control is not working yet. I don't understand how I should activate the feature. I tried to drag my finger to the right side of the trackpad, since my iPad is at the right of my Mac, several times. I tried to move my iPad to the left and drag the finger to the left, several times, but there's no way to activate the connection between the 2 devices. Did some of you successfully activate the feature? If yes, can you explain how to activate it? Thanks so much!
Posted Last updated
.