Posts

Post not yet marked as solved
1 Replies
180 Views
Can I apply Vision Pro to get the direction in which I am looking? The following document shows that visionOS is not supported, so it seems impossible... https://developer.apple.com/documentation/coremotion/cmdevicemotion/2890756-heading
Posted
by arimoto.
Last updated
.
Post not yet marked as solved
9 Replies
1.2k Views
I am testing my app on watchOS 10 though, After installing the app once on the Apple Watch and getting location permissions with CLLocationManager, Uninstall the app and install it again, When I check from Privacy in the Settings app on my Apple Watch, location is still allowed, but location information is no longer available. Does anyone know how to fix this?
Posted
by arimoto.
Last updated
.
Post not yet marked as solved
0 Replies
881 Views
I want to use MapKit with App Intents, but the map does not show up.(See attached image) Can anyone help me solve this? import SwiftUI import MapKit struct ContentView: View {   @State private var region = MKCoordinateRegion(     center: CLLocationCoordinate2D(latitude: 37.334_900,                     longitude: -122.009_020),     latitudinalMeters: 750,     longitudinalMeters: 750   )       var body: some View {     VStack {       Map(coordinateRegion: $region).frame(width:300, height:300)         .disabled(true)     }   } } struct ContentView_Previews: PreviewProvider {   static var previews: some View {     ContentView()   } } import AppIntents import SwiftUI import MapKit struct test20220727bAppIntentsExtension: AppIntent {   static var title: LocalizedStringResource = "test20220727bAppIntentsExtension"       func perform() async throws -> some IntentResult {     return .result(value: "aaa", view: ContentView())   } } struct testShortcuts:AppShortcutsProvider{   @available(iOS 16.0, *)   static var appShortcuts: [AppShortcut]{     AppShortcut(       intent: test20220727bAppIntentsExtension(),       phrases: ["test20220727bAppIntentsExtension" ]     )   } }
Posted
by arimoto.
Last updated
.
Post not yet marked as solved
0 Replies
441 Views
I have a watchOS app with an iOS app.I want to convert my watchOS app into an Independent app, and I want to send push notifications to my watchOS app.Do I need to create a certificate for the watch app separately from the certificate for the iPhone app?
Posted
by arimoto.
Last updated
.