Post

Replies

Boosts

Views

Activity

Reply to iOS 18 beta 5 NSAttributedString Crash
The Developer Forums aren't really the right place to raise bugs in a new version of an OS. Apple's engineers aren't reading through these pages waiting to see if anyone's found a bug before they fix it. These forums are for third-party developers writing apps for Apple's platforms to discuss issues with their code. You need to raise each issue you find separately at https://www.apple.com/feedback/ You can post the FB numbers here if you want, so that others can link to them.
Topic: App & System Services SubTopic: General Tags:
Aug ’24
Reply to Inquiry: Checking User’s Large App Icon Mode Setting on iOS 18
As far as I can tell Large App Icon mode in iOS 18 just makes the icons on the Home Screen larger, and removes app names. What would you need to do inside your own app based on this? If you're thinking, "Oh, the user has enabled Large App Icon mode, so they might have issues with their sight, let's make everything larger in the app", then I wouldn't do that, for two reasons: The user may not have issues with their sight, they just want to remove app names from their Home Screen. There are accessibility settings like Dynamic Text Size that your app's UI should adhere to. Basing an app's UI on how the user decides to show their Home Screen is, in my opinion, redundant.
Topic: UI Frameworks SubTopic: General Tags:
Aug ’24
Reply to IPHONE 14 PRO MAX GREEN SCREEN
These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. These forums are not where Apple's actual developers or support staff chat about stuff. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Topic: App & System Services SubTopic: StoreKit Tags:
Aug ’24
Reply to Selecting WindowGroup to open at app startup.
Hang on a second... Don't you define a single View inside a WindowGroup? From this page: // Here's where you define two different WindowGroups WindowGroup("Message", id: "message", for: UUID.self) { $uuid in MessageDetail(uuid: uuid) } WindowGroup("Account", id: "account-info", for: UUID.self) { $uuid in AccountDetail(uuid: uuid) } // Then, use both the identifier and a value to open the window struct ActionButtons: View { var messageID: UUID var accountID: UUID @Environment(\.openWindow) private var openWindow var body: some View { HStack { Button("Open message") { openWindow(id: "message", value: messageID) } Button("Edit account information") { openWindow(id: "account-info", value: accountID) } } } } So, you define your different window types, and then open them as required, so your's might be: var body: some Scene { WindowGroup(id: "wg1") { ViewOne() } WindowGroup(id: "wg2") { ViewTwo() } } Then you open a window at startup with: openWindow(id: showFirstView ? "wg1" : "wg2")
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’24
Reply to Selecting WindowGroup to open at app startup.
Do you need two WindowGroups? Can you put the if statement inside one WG, and apply it to the Views instead? @AppStorage("showFirstView") private var showFirstView = true var body: some Scene { WindowGroup(id: "wg") { if showFirstView { ViewOne() } else { ViewTwo() } } } I have no idea if this will work.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’24
Reply to Is apple testing iOS 18 bata 6 is testing ask apple engineering
Huh?
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to `NavigationSplitView` with `ZStack` in detail view causes `.sheet(item` to hang
Can't you use an if #available to handle this?
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Aug ’24
Reply to iOS 18 beta 5 WKWebView crash
Have you raised a Feedback report? If not, please do so at https://www.apple.com/feedback/ then post the FB number here.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to iOS 18 beta 5 NSAttributedString Crash
The Developer Forums aren't really the right place to raise bugs in a new version of an OS. Apple's engineers aren't reading through these pages waiting to see if anyone's found a bug before they fix it. These forums are for third-party developers writing apps for Apple's platforms to discuss issues with their code. You need to raise each issue you find separately at https://www.apple.com/feedback/ You can post the FB numbers here if you want, so that others can link to them.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Inquiry: Checking User’s Large App Icon Mode Setting on iOS 18
As far as I can tell Large App Icon mode in iOS 18 just makes the icons on the Home Screen larger, and removes app names. What would you need to do inside your own app based on this? If you're thinking, "Oh, the user has enabled Large App Icon mode, so they might have issues with their sight, let's make everything larger in the app", then I wouldn't do that, for two reasons: The user may not have issues with their sight, they just want to remove app names from their Home Screen. There are accessibility settings like Dynamic Text Size that your app's UI should adhere to. Basing an app's UI on how the user decides to show their Home Screen is, in my opinion, redundant.
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to SwiftUI Hierarchical List Performance
I have no recommendations for speeding this up, but I would ask if you've raised a Feedback report for this? If not, please do so at https://www.apple.com/feedback/ then post the FB number here.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to IPHONE 14 PRO MAX GREEN SCREEN
These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. These forums are not where Apple's actual developers or support staff chat about stuff. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Selecting WindowGroup to open at app startup.
Hang on a second... Don't you define a single View inside a WindowGroup? From this page: // Here's where you define two different WindowGroups WindowGroup("Message", id: "message", for: UUID.self) { $uuid in MessageDetail(uuid: uuid) } WindowGroup("Account", id: "account-info", for: UUID.self) { $uuid in AccountDetail(uuid: uuid) } // Then, use both the identifier and a value to open the window struct ActionButtons: View { var messageID: UUID var accountID: UUID @Environment(\.openWindow) private var openWindow var body: some View { HStack { Button("Open message") { openWindow(id: "message", value: messageID) } Button("Edit account information") { openWindow(id: "account-info", value: accountID) } } } } So, you define your different window types, and then open them as required, so your's might be: var body: some Scene { WindowGroup(id: "wg1") { ViewOne() } WindowGroup(id: "wg2") { ViewTwo() } } Then you open a window at startup with: openWindow(id: showFirstView ? "wg1" : "wg2")
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Convert view to PDF
Please reformat your code. The top part isn't inside the code block, so it's difficult to read.
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Idea's to improve Apple Watch
These are the Developer Forums, where developers of third-party apps for Apple's platforms ask each other for hints and tips on coding. These forums are not where Apple's actual developers chat about new features. If you have a suggestion, you should raise it at: https://www.apple.com/feedback/
Replies
Boosts
Views
Activity
Aug ’24
Reply to Selecting WindowGroup to open at app startup.
Try this: WindowGroup(id: showFirstView ? "wg1" : "wg2") { if(showFirstView) { ViewOne() } else { ViewTwo() } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Software update not showing iOS 18.5 beta
If you have 18.1 beta installed then you cannot install 18.0 beta 5 because 18.1 beta is newer than 18.0 beta 5. If you want to downgrade to 18.0 beta 5 you will have to wipe and restore from a backup (which is at 17.x or 18.0 beta 1-4), then install 18.0 beta 5.
Replies
Boosts
Views
Activity
Aug ’24
Reply to Volume stuck at 100% with a greyed out volume bar.
Have you raised a Feedback report? If not, please do so at https://www.apple.com/feedback/ then post the FB number here.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Selecting WindowGroup to open at app startup.
Do you need two WindowGroups? Can you put the if statement inside one WG, and apply it to the Views instead? @AppStorage("showFirstView") private var showFirstView = true var body: some Scene { WindowGroup(id: "wg") { if showFirstView { ViewOne() } else { ViewTwo() } } } I have no idea if this will work.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Incorrect Decimal Init Behavior
Have you raised a Feedback report? If not, please do so at https://www.apple.com/feedback/ then post the FB number here.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’24