I'm developing a CarPlay navigation app, and some of my UI is built with UIKit. I can display the UI well and it works, but I can't detect clicks or user interaction. CPButtons work, but those aren't customizable to my knowledge. How can I detect clicks or user interaction with my UIKit elements in CarPlay? Or, create custom views from the CP elements?
Post
Replies
Boosts
Views
Activity
I'm trying to setup AdMob apps in my app but they won't work unless I get permission to track. Unfortunately when I try and request, it does not display. In settings, the option to allow request to track is greyed out.
Anyway around this?
I'm using Xcode 12 beta 3. When running my Apple Watch's target on WatchOS 7, I get this error:
Warning: Error creating LLDB target at path '/Users/evan/Library/Developer/Xcode/DerivedData/audigo-cneguthkmmoulfgcprsazbryrlrl/Build/Products/Debug-watchsimulator/AudigoWatchApplication.app'- using an empty LLDB target which can cause slow memory reads from remote devices.
I know this error use to be when running 32 bit frameworks on 64 bit devices, but I'm not doing that. Is this a bug? Or is there a setting I don't know of that needs to be updated?
I'm trying to search for nearby locations on my WatchKit app, but MKLocalSearch is unsupported on WatchOS. Is there an alternative way to get nearby locations on a WatchKit app?
I'm using SwiftUI to make my an Apple Watch Companion app for my iOS application. I call my view using ,
override var body: ContentView {
		 return ContentView(data: appData)
}
When I receive message data from watch connectivity how can I call the ContentView to reload the view?
(Content view is my swiftUI view and appData is an array of data passed to it)
My app has a widgetKit extension, and works perfectly on iOS 14. When I run the app on an iOS 13 device I get this error:
dyld: Library not loaded: /System/Library/Frameworks/WidgetKit.framework/WidgetKit
Referenced from: /private/var/containers/Bundle/Application
I think it means I’m calling widgetKit but it doesn’t know what it is. How can I avoid this error or fix it?
I followed along the Widget Code Along part two in my own app. In the tutorial they discussed linking the data on the widget to that in the tableview. When you clicked on the widget it would take you to the linked tableviewcell with swiftUI. In my app, my widget is swiftUI, but my tableview inside my main app is UIKit and Storyboards. How can create the URL link in UIKit like the one in swiftUI?
I'm setting up custom intents for my widget. The values are enums, and I'm wondering if I can set the cases to an array that changes programmatically from a function.
I'm trying to create turn-by-turn directions, and I want to create a follow effect. To do that I want the map camera heading to be pointed towards the next coordinate on the map. How would I find the heading from the user location to the next coordinate in MapKit with Swift?