Post

Replies

Boosts

Views

Activity

Reply to iOS 18 review
Are you talking about the app switcher? You swipe up from the bottom and can close an app? You want a way to close all apps at once? I think you have a fundamental misunderstanding of what that function does. When you exit an app or switch to another one, the app you're leaving is given a few seconds to do some cleanup before it is suspended. Those apps are put into the background and are not running. They are consuming no battery or CPU power. The images you see in that screen are snapshots of the app before it was suspended. By suspending apps you actually save battery power because many apps have to perform initial setup before you can start using them. Even though that overhead is quite small it means that if you kill an app in that screen, the app will have to do its setup when you next launch it. There is no reason to need to close all suspended apps other than some weird 'need' to have nothing in that screen.
Nov ’24
Reply to Bring back Touch Bar to MacBook Pro
These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Your product request has nothing to do with us, so I'd suggest you make your statement over at the Apple Support Forums or one of the many Apple-related discussion sites. Thanks.
Nov ’24
Reply to Game wont run.
Well then, can you ask them what the problem is, and whether they've reported it to Apple? If they haven't they should. If they'll let you know what the issue is, you can raise the issue yourself via the usual site: https://feedbackassistant.apple.com/ then post the FB number here.
Topic: Community SubTopic: Apple Developers Tags:
Nov ’24
Reply to Software
You really - REALLY - need to make use of the Feedback website, and stop spamming these Developer Forums... 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/ Thank you.
Topic: Community SubTopic: Apple Developers Tags:
Nov ’24
Reply to Mac book air m1 2020 carshed
Oh noes! These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Nov ’24
Reply to Store SwiftUI Color in SwiftData
I store Strings, and have no issue. Try this function and extension, and confirm that they encode and decode your colours correctly: func colorToHex(_ colour: Color) -> String { guard let components: [CGFloat] = colour.cgColor?.components else { return "#FFFFFFFF" } if(components.count == 2) { return String(format: "#%02lX%02lX%02lX", lroundf(Float(components[0]) * 255.0), lroundf(Float(components[0]) * 255.0), lroundf(Float(components[0]) * 255.0)) } return String(format: "#%02lX%02lX%02lX%02lX", lroundf(Float(components[0]) * 255.0), lroundf(Float(components[1]) * 255.0), lroundf(Float(components[2]) * 255.0), lroundf(Float(components[3]) * 255.0)) } extension UIColor { public convenience init?(fromHex: String) { if(!fromHex.hasPrefix("#")) { return nil; } let r, g, b, a: CGFloat let start = fromHex.index(fromHex.startIndex, offsetBy: 1) let hexColor = String(fromHex[start...]) if(hexColor.count == 8) { let scanner = Scanner(string: hexColor) var hexNumber: UInt64 = 0 if(scanner.scanHexInt64(&hexNumber)) { r = CGFloat((hexNumber & 0xff000000) >> 24) / 255 g = CGFloat((hexNumber & 0x00ff0000) >> 16) / 255 b = CGFloat((hexNumber & 0x0000ff00) >> 8) / 255 a = CGFloat(hexNumber & 0x000000ff) / 255 self.init(red: r, green: g, blue: b, alpha: a) return } } return nil; } } Note, the extension is on UIColor, but it's trivial to convert to Color.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’24
Reply to iOS 18 videos corrupt
These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Nov ’24
Reply to IOS18
These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. This isn't the place for your product issues. The fact that you randomly picked a couple of tags for your post, which obviously have nothing to do with your issue, should've suggested you were in the wrong place. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Nov ’24
Reply to Question about installing and migrating apps from the App Store for apps deleted by developers
This looks like some AI nonsense.
Replies
Boosts
Views
Activity
Nov ’24
Reply to iOS 18 review
Are you talking about the app switcher? You swipe up from the bottom and can close an app? You want a way to close all apps at once? I think you have a fundamental misunderstanding of what that function does. When you exit an app or switch to another one, the app you're leaving is given a few seconds to do some cleanup before it is suspended. Those apps are put into the background and are not running. They are consuming no battery or CPU power. The images you see in that screen are snapshots of the app before it was suspended. By suspending apps you actually save battery power because many apps have to perform initial setup before you can start using them. Even though that overhead is quite small it means that if you kill an app in that screen, the app will have to do its setup when you next launch it. There is no reason to need to close all suspended apps other than some weird 'need' to have nothing in that screen.
Replies
Boosts
Views
Activity
Nov ’24
Reply to Bring back Touch Bar to MacBook Pro
These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Your product request has nothing to do with us, so I'd suggest you make your statement over at the Apple Support Forums or one of the many Apple-related discussion sites. Thanks.
Replies
Boosts
Views
Activity
Nov ’24
Reply to App Rejection for iOS 18.1 issue I cant replicate
There is no "Enter as guest" button on there. If you mean the "Login as Gest User" - please check your spelling here! - then perhaps it's because it's in the toolbar, and the toolbar is intercepting the presses?
Replies
Boosts
Views
Activity
Nov ’24
Reply to Duplicate a project for testing
Huh? Two ways: Close Xcode. Copy the folder and give it a different name. Open project from that folder. Implement tests in the original project. (Recommended)
Replies
Boosts
Views
Activity
Nov ’24
Reply to Game wont run.
Well then, can you ask them what the problem is, and whether they've reported it to Apple? If they haven't they should. If they'll let you know what the issue is, you can raise the issue yourself via the usual site: https://feedbackassistant.apple.com/ then post the FB number here.
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to iPhone 15 Pro Magsafe Problem
Does your Anker thing charge any other iPhone via MagSafe? If so, then yes the problem is in your iPhone. If it doesn't, then it's clearly the Anker thing that's broken. Can you find out?
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to ImageRenderer rounds points coordinates to integer values
I know you've answered this, but it would help others in future who might come across this post, for you to post your original non-working code, and the fixed code that works.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to Software
You really - REALLY - need to make use of the Feedback website, and stop spamming these Developer Forums... 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/ Thank you.
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to Mac book air m1 2020 carshed
Oh noes! These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Replies
Boosts
Views
Activity
Nov ’24
Reply to iPhone 16 photo app bug
So, this seems like an issue with Viber, then? You should talk to the Viber developers, not us.
Replies
Boosts
Views
Activity
Nov ’24
Reply to Store SwiftUI Color in SwiftData
I store Strings, and have no issue. Try this function and extension, and confirm that they encode and decode your colours correctly: func colorToHex(_ colour: Color) -> String { guard let components: [CGFloat] = colour.cgColor?.components else { return "#FFFFFFFF" } if(components.count == 2) { return String(format: "#%02lX%02lX%02lX", lroundf(Float(components[0]) * 255.0), lroundf(Float(components[0]) * 255.0), lroundf(Float(components[0]) * 255.0)) } return String(format: "#%02lX%02lX%02lX%02lX", lroundf(Float(components[0]) * 255.0), lroundf(Float(components[1]) * 255.0), lroundf(Float(components[2]) * 255.0), lroundf(Float(components[3]) * 255.0)) } extension UIColor { public convenience init?(fromHex: String) { if(!fromHex.hasPrefix("#")) { return nil; } let r, g, b, a: CGFloat let start = fromHex.index(fromHex.startIndex, offsetBy: 1) let hexColor = String(fromHex[start...]) if(hexColor.count == 8) { let scanner = Scanner(string: hexColor) var hexNumber: UInt64 = 0 if(scanner.scanHexInt64(&hexNumber)) { r = CGFloat((hexNumber & 0xff000000) >> 24) / 255 g = CGFloat((hexNumber & 0x00ff0000) >> 16) / 255 b = CGFloat((hexNumber & 0x0000ff00) >> 8) / 255 a = CGFloat(hexNumber & 0x000000ff) / 255 self.init(red: r, green: g, blue: b, alpha: a) return } } return nil; } } Note, the extension is on UIColor, but it's trivial to convert to Color.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to Game wont run.
You need to get in touch with the game developer, not random third-party developers who use these forums.
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to iOS 18 videos corrupt
These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Replies
Boosts
Views
Activity
Nov ’24
Reply to IOS18
These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. This isn't the place for your product issues. The fact that you randomly picked a couple of tags for your post, which obviously have nothing to do with your issue, should've suggested you were in the wrong place. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Replies
Boosts
Views
Activity
Nov ’24