Post marked as unsolved
618
Views
Hello,
Facing strange issue that none of my apps installing on watch OS 7 beta 2.
It only installs TestFlight apps, not apps which ware downloaded from App Store.
Also apps which are installed of TestFlight, connectivity session does not work to send data between iPhone app to watch app and vice versa.
Tried to reset watch 3-4 times, but same problem.
Anyone else facing this issue?
My watch is series 3(watchOS beta 2), iPhone X(installed iOS 14 beta 2)
Thanks
Hiren
Post marked as unsolved
415
Views
HealthKit data not available when device is locked. is there any way to reload data when device unlocked?
In application, done with background refresh of data, but due to data not accessible when device is locked, need some way to reload all timelines when device got unlocked so it has most recent data to show on widget.
Post marked as unsolved
101
Views
Hello,
Trying to handle custom url links from widget in Mac. It opens containing app but not any method gets called to get URL and handle action.
Tried below way for handling custom url.
NSAppleEventManager
.shared()
.setEventHandler(
self,
andSelector: #selector(handleURL(event:reply:)),
forEventClass: AEEventClass(kInternetEventClass),
andEventID: AEEventID(kAEGetURL)
)
Above method in applicationDidFinishLaunching method, but that method not getting called.
Widget has code like,
struct TestMacWidgetEntryView : View {
var url = URL(fileURLWithPath: "testWid://test?abc=123")
var entry: Provider.Entry
var body: some View {
Link(destination: url) {
Text(entry.date, style: .time)
}
}
}
Anyone has idea how to get that url in containing app to perform action from widget links?
Post marked as unsolved
277
Views
Hello,
Configurable widget does not work in Catalyst app. Configurable widget works fine in iPhone, but when tried to run on Mac for catalyst, it does not work, gives error.
Tested app in iPad and it works fine.
Does it require additional settings?
Thanks
Hiren
Post marked as unsolved
139
Views
Don't find proper way for suggesting shortcut with multiple parameters, it shows long vertical list when suggest individual shortcut with different parameter value, instead of showing horizontal list of actions as shown in video.
There is log drink shortcut and it can have different drink types which it asks at run time
how to suggest using INVoiceShortcutCenter.shared.setShortcutSuggestions so it shows actions like streaks app shown in video? For me it shows vertical list, individual shortcut in shortcuts app
Sharing code here:
for drink in drinks {
let logDrink = LogDrinkIntent()
logDrink.drinkType = DrinkType(identifier: drink.drinkId!, display: drink.name!.localized)
let shortcut = INShortcut(intent: logDrink)
shortcuts.append(shortcut!)
}
	 INVoiceShortcutCenter.shared.setShortcutSuggestions(shortcuts)
}
Post marked as unsolved
640
Views
Hi,Developed custom intent which logs data into the app. When launch iphone app, it creates relevant shortcut and force syncing from developer settings in iPhone, it also shows on watch face gallery.Custom intent works fine in iPhone, but facing some problem on watch. When tap on that shortcut on watch face, it shows confirmation window and tapping on add button, it also logs data but the problem is it keeps spinning and application crashes. Tried all the ways, but still no luck. If uncheck background execution for intent, it properly opens watch app, but it does not execute intent in background properly.Let us know if you are facing any such issue and if any solution for same.ThanksHiren