Post

Replies

Boosts

Views

Activity

Reply to How can I hide dot indicator from swiftUI Gauge view?
struct ContentView: View { var body: some View { ZStack { Color.black Gauge(value: 0.23) { Image("droplet") .renderingMode(.template) .foregroundColor(.white) } currentValueLabel: { Text("23") .foregroundStyle(.white) } .gaugeStyle(.accessoryCircular) .tint(.white) } } } Above code shows gauge like this. But I don't want to show value indicator on ring which is showing at 23%.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’23
Reply to App Intent in separate target doesn't work
I am facing the same issue. Tapping on a shortcut in the shortcuts app under the App Shortcuts section, shows below error: Error Domain=LNActionFor- AutoShortcutPhraseFetchError Code=1 "No AutoShortcuts instance registered." UserInfo={NSLocalizedDescription=No AutoShortcuts instance registered.} Here is my code: struct OpenCurrentlyReading: AppIntent {     static var title: LocalizedStringResource = "Open Currently Reading"     func perform() async throws -> some PerformResult {         return .finished     }     static var openAppWhenRun: Bool = true } public struct LibraryAppShortcuts: AppShortcutsProvider {     public static var appShortcuts: [AppShortcut] {         AppShortcut (             intent: OpenCurrentlyReading(),             phrases: ["Open Currently Reading"],             systemImageName: "books.vertical.fill"         )     } } @main struct FoodTruckAppShortcutsExtension: AppIntentsExtension { } However, same code is working fine for In-app Intents.
Topic: App & System Services SubTopic: General Tags:
Jun ’22
Reply to Using alternate app icons with Icon Composer
Below issues are fixed in beta3 Unable to set Icon Composer icon as alternate iOS icon Icon Composer icons back deploy to older versions of iOS, macOS, and watchOS with inconsistent rendering.
Replies
Boosts
Views
Activity
Jul ’25
Reply to IconComposer alternative app icons not working
This issue fixed in Xcode 26 beta3
Replies
Boosts
Views
Activity
Jul ’25
Reply to App Intent snippet view does't able to fetch color for xcassets.
@MrBran4 . No not found any solution. May be you can always show your UI according to light theme
Replies
Boosts
Views
Activity
Jan ’25
Reply to iOS 18 seems to have broken animations in Widgets
In iOS 18, the func getTimeline(in context: Context, completion: @escaping (Timeline<Entry>) -> ()) method of TimelineProvider is being called twice, which is causing an issue. However, in iOS 17, it's calling only once.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to WidgetKit complications won't update
Are there any resolution for the issue?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to How can I hide dot indicator from swiftUI Gauge view?
struct ContentView: View { var body: some View { ZStack { Color.black Gauge(value: 0.23) { Image("droplet") .renderingMode(.template) .foregroundColor(.white) } currentValueLabel: { Text("23") .foregroundStyle(.white) } .gaugeStyle(.accessoryCircular) .tint(.white) } } } Above code shows gauge like this. But I don't want to show value indicator on ring which is showing at 23%.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to CLKComplicationWidgetMigrator not working
I am facing same issue in latest beta as well. Does any one found the solution?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to Migrating ClockKit complications to WidgetKit not working
I am facing same issue in latest beta as well. Are there any solution?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to watchOS 9: ClockKit-based complications occasionally failed to display
Facing same issue. Are there any solution to fix the issue?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to App Intents not appear in Shortcuts App
I'm facing same issue. It was working fine but not working in 14.0 beta 6. AppShortcut(       intent: ShowBooks(),       phrases: ["Show Books"]     ) After updating phrases to phrases: ["\(.applicationName) Show Books"] it starts appearing.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to App Intents not discovered by iOS 16 Beta 1
Have you implemented AppShortcutsProvider protocol?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to App Intent in separate target doesn't work
I am facing the same issue. Tapping on a shortcut in the shortcuts app under the App Shortcuts section, shows below error: Error Domain=LNActionFor- AutoShortcutPhraseFetchError Code=1 "No AutoShortcuts instance registered." UserInfo={NSLocalizedDescription=No AutoShortcuts instance registered.} Here is my code: struct OpenCurrentlyReading: AppIntent {     static var title: LocalizedStringResource = "Open Currently Reading"     func perform() async throws -> some PerformResult {         return .finished     }     static var openAppWhenRun: Bool = true } public struct LibraryAppShortcuts: AppShortcutsProvider {     public static var appShortcuts: [AppShortcut] {         AppShortcut (             intent: OpenCurrentlyReading(),             phrases: ["Open Currently Reading"],             systemImageName: "books.vertical.fill"         )     } } @main struct FoodTruckAppShortcutsExtension: AppIntentsExtension { } However, same code is working fine for In-app Intents.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’22