Post

Replies

Boosts

Views

Activity

Xcode 16 beta 6 - Widget gallery doesn't show app in iOS 15
We have minimum deployments set to iOS 15 in one of the app for both application and widget target. When install app in simulator or real device using Xcode 15.4, it works fine in iOS15, iOS16, iOS17 and iOS18 beta. When install app in simulator or real device, using Xcode 16 beta 6, it works fine in iOS16, iOS17 and iOS18 beta but in iOS 15, our app doesn't show in widget gallery.
18
12
4.9k
Jan ’25
App Intent snippet view does't able to fetch color for xcassets.
We have an existing app in which we have implemented AppShortcuts. The snippet view works fine in iOS 17 while in iOS18 beta, it doesn't able to fetch color from xcassets. If we use system colours or UIColor it's working fine. Not working Color("progressColor") Working Color(uiColor: UIColor(named: "progressColor")!) Color.red Color(hex: "3881d3") // Note: We created Color extension to generate color from hex string.
2
5
971
Jan ’25
How to change selected tab title color in iPadOS 18?
I applied image tint color to TabBar. It works fine when I decrease the window width using stage manager. Also it shows proper in iPhone. But it doesn't show orange title in compact style. I also tried below things: self.tabBar.tintColor = .orange self.tabBar.unselectedItemTintColor = .gray The only solution is to set AccentColor in Assets.xcassets. But what if I want to change different color than AccentColor?
Topic: UI Frameworks SubTopic: UIKit
3
0
1.1k
Jul ’24
Migration to AppIntents doesn't work for dynamic options provider type.
We are using Intent for app shortcuts which allows user to select name from array of string. In the intent, there is only one parameter name. After migrating to app intent, it does not preserve the name of existing shortcut and every time it asks for the name. For example, I have an existing app shortcuts with name "Book 1". After migrating to AppIntent, if I run same shortcut, it ask for the name again. We are passing same books array in DynamicOptionsProvider and provideNameOptionsCollection method.. Here is the code: @available(iOS 16.0, *) struct CreateBook: AppIntent, CustomIntentMigratedAppIntent, PredictableIntent { static let intentClassName = "BookIntent" // Intent name: Book static var title: LocalizedStringResource = "Book" static var description = IntentDescription("Book") @Parameter(title: "Name", optionsProvider: BookNamesOptionsProvider()) var name: String? private struct BookNamesOptionsProvider: DynamicOptionsProvider { func results() async throws -> [String] { ["Book 1", "Book 2"] } } static var parameterSummary: some ParameterSummary { Summary("Create \(\.$name)") } static var predictionConfiguration: some IntentPredictionConfiguration { IntentPrediction(parameters: (\.$name)) { name in DisplayRepresentation( title: "Create \(name!)", subtitle: "Create Book" ) } } func perform() async throws -> some IntentResult { ... } }
0
0
710
Aug ’23
App crash in iPadOS 26 if glassEffect modifier applied
To adopt glass effect in custom view, we are using glassEffect modifier. It is working fine iOS26. However in iPadOS 26 beta 3, app is getting crash as soon as app launch. In iPad simulator it's working fine. Symbol not found: _$s7SwiftUI4ViewPAAE11glassEffect_2inQrAA5GlassV_qd__tAA5ShapeRd__lF
Replies
2
Boosts
1
Views
191
Activity
Jul ’25
iOS 26 beta - Apply prominentGlass to button shows default font
If we apply prominentGlass to button configuration, fonts shows default one. button.configuration = .prominentGlass() button.titleLabel?.font = UIFont.systemFont(ofSize: 18, weight: .bold) Instead of bold font with font size 18, it shows normal font with approx 14 font size.
Topic: UI Frameworks SubTopic: UIKit
Replies
1
Boosts
0
Views
154
Activity
Jun ’25
Xcode 16 beta 6 - Widget gallery doesn't show app in iOS 15
We have minimum deployments set to iOS 15 in one of the app for both application and widget target. When install app in simulator or real device using Xcode 15.4, it works fine in iOS15, iOS16, iOS17 and iOS18 beta. When install app in simulator or real device, using Xcode 16 beta 6, it works fine in iOS16, iOS17 and iOS18 beta but in iOS 15, our app doesn't show in widget gallery.
Replies
18
Boosts
12
Views
4.9k
Activity
Jan ’25
App Intent snippet view does't able to fetch color for xcassets.
We have an existing app in which we have implemented AppShortcuts. The snippet view works fine in iOS 17 while in iOS18 beta, it doesn't able to fetch color from xcassets. If we use system colours or UIColor it's working fine. Not working Color("progressColor") Working Color(uiColor: UIColor(named: "progressColor")!) Color.red Color(hex: "3881d3") // Note: We created Color extension to generate color from hex string.
Replies
2
Boosts
5
Views
971
Activity
Jan ’25
How to change selected tab title color in iPadOS 18?
I applied image tint color to TabBar. It works fine when I decrease the window width using stage manager. Also it shows proper in iPhone. But it doesn't show orange title in compact style. I also tried below things: self.tabBar.tintColor = .orange self.tabBar.unselectedItemTintColor = .gray The only solution is to set AccentColor in Assets.xcassets. But what if I want to change different color than AccentColor?
Topic: UI Frameworks SubTopic: UIKit
Replies
3
Boosts
0
Views
1.1k
Activity
Jul ’24
saturation modifier doesn't work in iOS 17 widgets.
I want to adjusts the color saturation of swiftUI view to 0%. In iOS 17 widgets, it doesn't work however it is working fine for widgets in iOS16 and prior and in application target
Replies
0
Boosts
0
Views
561
Activity
Sep ’23
Migration to AppIntents doesn't work for dynamic options provider type.
We are using Intent for app shortcuts which allows user to select name from array of string. In the intent, there is only one parameter name. After migrating to app intent, it does not preserve the name of existing shortcut and every time it asks for the name. For example, I have an existing app shortcuts with name "Book 1". After migrating to AppIntent, if I run same shortcut, it ask for the name again. We are passing same books array in DynamicOptionsProvider and provideNameOptionsCollection method.. Here is the code: @available(iOS 16.0, *) struct CreateBook: AppIntent, CustomIntentMigratedAppIntent, PredictableIntent { static let intentClassName = "BookIntent" // Intent name: Book static var title: LocalizedStringResource = "Book" static var description = IntentDescription("Book") @Parameter(title: "Name", optionsProvider: BookNamesOptionsProvider()) var name: String? private struct BookNamesOptionsProvider: DynamicOptionsProvider { func results() async throws -> [String] { ["Book 1", "Book 2"] } } static var parameterSummary: some ParameterSummary { Summary("Create \(\.$name)") } static var predictionConfiguration: some IntentPredictionConfiguration { IntentPrediction(parameters: (\.$name)) { name in DisplayRepresentation( title: "Create \(name!)", subtitle: "Create Book" ) } } func perform() async throws -> some IntentResult { ... } }
Replies
0
Boosts
0
Views
710
Activity
Aug ’23
How can I hide dot indicator from swiftUI Gauge view?
I want to create a circular gauge view without dot indicator on it.
Replies
3
Boosts
0
Views
970
Activity
Jul ’23
User settings does not preserve after migrating widget to App Intents
We have an Intent configurable widgets in our app that allows user to choose theme for widget. After adopting App Intent for widget configuration, existing widget does not preserve the selected theme and it resets the value.
Replies
0
Boosts
0
Views
916
Activity
Jun ’23
AppIntents not working in xcode 14
Getting an error when import AppIntents framework to project. Command ExtractAppIntentsMetadata failed with a nonzero exit code
Replies
7
Boosts
5
Views
3.2k
Activity
Oct ’22