Post

Replies

Boosts

Views

Activity

Reply to ios 18 3 bugs
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 to see if anyone's found a bug. 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.
Jul ’24
Reply to iOS 18 beta problem
Please raise bugs with Apple - and not in these forums. 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 to see if anyone's found a bug. 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.
Jul ’24
Reply to Bug in IOS 18 Developer Beta version
There is an issue with Screen Time in the iOS 18 betas. Please raise bugs with Apple - and not in these forums. 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 to see if anyone's found a bug. 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. Others have already raised this particular issue, but your report might contain the pertinent information that will help Apple fix the bug.
Jul ’24
Reply to SwiftUI design elements
No, that's not the best way to do what you want. The reason you got "Hello World!" with a red background is because of this: Text("Hello, World!") .background(RoundedRectangle(cornerRadius: 25.0).fill(Color.red)) You applied the .background modifier to the Text item, so just the text was given the red background. What you want to do is use a ZStack. Just like HStack is a horizontal stack and VStack is a stack along the vertical axis, a ZStack is a stack along the z-axis. Put a rectangle inside the ZStack and it will become the background, then you layer your content on top, i.e.: struct DashboardView: View { var body: some View { HStack { VStack { VStack { ZStack { RoundedRectangle(cornerRadius: 25.0) .fill(Color.red) Text("Text 1") } } VStack { ZStack { RoundedRectangle(cornerRadius: 25.0) .fill(Color.green) Text("Text 2") } } } VStack { ZStack { RoundedRectangle(cornerRadius: 25.0) .fill(Color.blue) VStack { Spacer() Text("Text 3") Spacer() Text("Text 4") Spacer() } } } } .foregroundStyle(.white) .frame(height: 200) .padding() } } The ordering is important, for both content and modifiers. If you reverse the RoundedRectangle(...) and Text you won't see the text because the rectangle is in front of it, i.e.: Text("Text 1") RoundedRectangle(cornerRadius: 25.0) .fill(Color.red) By the way, .foregroundColor() is deprecated. While it works now, it will be removed in a later version of the OS, so you should move to the new foregroundStyle() modifier instead. Also note that if all your text inside those rectangles is going to be the same colour, you can add that modifier to the top-level HStack, as I have done above.
Topic: Design SubTopic: General Tags:
Jul ’24
Reply to SwiftUI design elements
import SwiftUI struct ContentView: View { var body: some View { HStack { VStack { RoundedRectangle(cornerRadius: 25.0) .fill(Color.red) RoundedRectangle(cornerRadius: 25.0) .fill(Color.green) } VStack { RoundedRectangle(cornerRadius: 25.0) .fill(Color.blue) } } .frame(height: 200) .padding() } } #Preview { ContentView() }
Topic: Design SubTopic: General Tags:
Jul ’24
Reply to iOS 18 glitch
Do you mean Screen Time? There seems to be an issue with the Screen Time settings in the iOS 18 betas. You should raise a Feedback report: https://www.apple.com/feedback/ then post the FB number here. Others have already raised such reports, but if Apple receive a lot of them they'll fix it. Screen Time is a main feature of iOS so I would say this would get fixed anyway, but your report might be the one that includes the relevant information allowing them to fix it.
Jul ’24
Reply to Apple Store
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 to see if anyone's found a bug. 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.
Jul ’24
Reply to 5.5" Display Images wont submit
If your minimum iOS version is 17 then it won't run on the iPhone 8 Plus. The fact that App Store Connect is requesting 8+ screenshots for an app that doesn't support it, is a rather annoying bug. Those screenshots will never be seen by anyone, so forcing you to provide them is nonsense. Please raise a Feedback report. I've already done it, but if they get more duplicates it pushes them to fix the bug. In the meantime, I'd say you're going to have to find the iPhone with the closest resolution, and crop/resize those screenshots.
Jul ’24
Reply to 5.5" Display Images wont submit
Right, and what are the dimensions of your image? The one you posted here is coming up as 1,125 x 2,436, which is clearly not 1,242 x 2,208px. 1,125 x 2,436 is the resolution of an iPhone 11 Pro, iPhone XS, or iPhone X. You need to save the screenshots from your iPhone 8 Plus Simulator and confirm the screenshots are 1,242 x 2,208 px.
Jul ’24
Reply to ios 18 3 bugs
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 to see if anyone's found a bug. 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.
Replies
Boosts
Views
Activity
Jul ’24
Reply to screen protector - IPhone 15 Pro
These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. These forums have nothing to do with product support. I'd suggest you ask it over at the Apple Support Forums. or contact the manufacturer of the screen protector. We can't help you here. Thanks.
Replies
Boosts
Views
Activity
Jul ’24
Reply to iOS 18beta,in h5 page, I found some characters are abnormal, how to fix the problem,thanks
Have you raised a Feedback report? If not, please do so at https://www.apple.com/feedback/ then post the FB number here.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to iOS 18 beta problem
Please raise bugs with Apple - and not in these forums. 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 to see if anyone's found a bug. 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.
Replies
Boosts
Views
Activity
Jul ’24
Reply to Bug in IOS 18 Developer Beta version
There is an issue with Screen Time in the iOS 18 betas. Please raise bugs with Apple - and not in these forums. 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 to see if anyone's found a bug. 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. Others have already raised this particular issue, but your report might contain the pertinent information that will help Apple fix the bug.
Replies
Boosts
Views
Activity
Jul ’24
Reply to SwiftUI design elements
No, that's not the best way to do what you want. The reason you got "Hello World!" with a red background is because of this: Text("Hello, World!") .background(RoundedRectangle(cornerRadius: 25.0).fill(Color.red)) You applied the .background modifier to the Text item, so just the text was given the red background. What you want to do is use a ZStack. Just like HStack is a horizontal stack and VStack is a stack along the vertical axis, a ZStack is a stack along the z-axis. Put a rectangle inside the ZStack and it will become the background, then you layer your content on top, i.e.: struct DashboardView: View { var body: some View { HStack { VStack { VStack { ZStack { RoundedRectangle(cornerRadius: 25.0) .fill(Color.red) Text("Text 1") } } VStack { ZStack { RoundedRectangle(cornerRadius: 25.0) .fill(Color.green) Text("Text 2") } } } VStack { ZStack { RoundedRectangle(cornerRadius: 25.0) .fill(Color.blue) VStack { Spacer() Text("Text 3") Spacer() Text("Text 4") Spacer() } } } } .foregroundStyle(.white) .frame(height: 200) .padding() } } The ordering is important, for both content and modifiers. If you reverse the RoundedRectangle(...) and Text you won't see the text because the rectangle is in front of it, i.e.: Text("Text 1") RoundedRectangle(cornerRadius: 25.0) .fill(Color.red) By the way, .foregroundColor() is deprecated. While it works now, it will be removed in a later version of the OS, so you should move to the new foregroundStyle() modifier instead. Also note that if all your text inside those rectangles is going to be the same colour, you can add that modifier to the top-level HStack, as I have done above.
Topic: Design SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to "Expressions are not allowed at the top level" (Only if the code is not in the main.swift file)
What code is causing the error? What version of Xcode are you using? What version of which OS are you building for?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to SwiftUI design elements
import SwiftUI struct ContentView: View { var body: some View { HStack { VStack { RoundedRectangle(cornerRadius: 25.0) .fill(Color.red) RoundedRectangle(cornerRadius: 25.0) .fill(Color.green) } VStack { RoundedRectangle(cornerRadius: 25.0) .fill(Color.blue) } } .frame(height: 200) .padding() } } #Preview { ContentView() }
Topic: Design SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to iOS 18 glitch
Do you mean Screen Time? There seems to be an issue with the Screen Time settings in the iOS 18 betas. You should raise a Feedback report: https://www.apple.com/feedback/ then post the FB number here. Others have already raised such reports, but if Apple receive a lot of them they'll fix it. Screen Time is a main feature of iOS so I would say this would get fixed anyway, but your report might be the one that includes the relevant information allowing them to fix it.
Replies
Boosts
Views
Activity
Jul ’24
Reply to Apple Store
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 to see if anyone's found a bug. 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.
Replies
Boosts
Views
Activity
Jul ’24
Reply to Unable to customize
No longer able to customise what? Have you raised a Feedback report? If not, please do so at https://www.apple.com/feedback/ then post the FB number here.
Replies
Boosts
Views
Activity
Jul ’24
Reply to iPhone 15 Pro Max completely shut down text
Is this on the iOS 18 beta? If so, raise a Feedback report here: https://www.apple.com/feedback/ then post the FB number here. If not, give us a little more info. What app is this? Can you add a screenshot here?
Topic: Safari & Web SubTopic: General
Replies
Boosts
Views
Activity
Jul ’24
Reply to Text Don't Show in swipeActions buttons !
Although it's not actually mentioned on this page, from the example it looks like the text isn't displayed at all, just the images. Maybe the text is used for accessibility, where someone cannot see the images and so iOS reads out the text?
Replies
Boosts
Views
Activity
Jul ’24
Reply to 5.5" Display Images wont submit
If your minimum iOS version is 17 then it won't run on the iPhone 8 Plus. The fact that App Store Connect is requesting 8+ screenshots for an app that doesn't support it, is a rather annoying bug. Those screenshots will never be seen by anyone, so forcing you to provide them is nonsense. Please raise a Feedback report. I've already done it, but if they get more duplicates it pushes them to fix the bug. In the meantime, I'd say you're going to have to find the iPhone with the closest resolution, and crop/resize those screenshots.
Replies
Boosts
Views
Activity
Jul ’24
Reply to 5.5" Display Images wont submit
Right, and what are the dimensions of your image? The one you posted here is coming up as 1,125 x 2,436, which is clearly not 1,242 x 2,208px. 1,125 x 2,436 is the resolution of an iPhone 11 Pro, iPhone XS, or iPhone X. You need to save the screenshots from your iPhone 8 Plus Simulator and confirm the screenshots are 1,242 x 2,208 px.
Replies
Boosts
Views
Activity
Jul ’24