Post

Replies

Boosts

Views

Activity

Reply to Triggering onAppear Once or Capturing Button Click Events in DestinationVideo Demo
I use this for making something happen only once. Put it into an Extensions.swift file or something like that: extension View { func onFirstAppear(perform: @escaping () -> Void) -> some View { modifier(OnFirstAppear(perform: perform)) } } private struct OnFirstAppear: ViewModifier { let perform: () -> Void @State private var firstTime = true func body(content: Content) -> some View { content.onAppear { if firstTime { firstTime = false perform() } } } } And you use it like you would use .onAppear, i.e.: .onFirstAppear { // Do something once }
Topic: Spatial Computing SubTopic: General Tags:
Feb ’25
Reply to After building the project, the search form does not allow typing, but pasting works.
The warnings you see are caused by Apple's code, not yours. It relates to displaying a keyboard, so you can ignore those. Just tried this here and it works fine. iPhone 16 Pro Max 18.2 Simulator. What happens if you click in the text field in your app in the Simulator, and press Cmd+K to toggle the software keyboard? Does it let you type into the field? Can you remove/comment out the .overlay that contains the clear button with image xmark.circle.fill. Maybe the tap onto the field is being intercepted by the Spacer() and that image? I don't know, I'm just trying to see what might cause your issue.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’25
Reply to Music Keeps cutting off
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.
Feb ’25
Reply to Recently used emoticons
If you have a suggestion then you should raise it at: https://feedbackassistant.apple.com/ But I would say that your assumption that everyone uses the same 20-30 emojis is absolutely incorrect. How would Apple decide which emojis to put in there? Would you be happy with the rainbow flag being in there and you not able to remove it? (Some people don't like LGBTQ+ people, and I expect they'd rail against Apple for forcing it on them...) You simply cannot assume such a thing. How it works right now is personal to each user; why not just leave it as it is?
Feb ’25
Reply to chase app not working on Iphone iOS18.3
Welcome to the Developer Forums, but I must say that your issue is not something you should post in these forums. These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Since you've already contacted Chase and they say it's a known issue that they're working to fix, just wait for Chase to fix it! Posting in here - to random developers around the world - won't get you any closer to having your app working again. We don't work for Chase, and we don't work for Apple. I'm sorry you've got an issue with an app on your iPhone. but Apple cannot help you, and neither can us random developers. Chase know what the issue is, and they're going to fix it. Just be patient (and please don't use these forums for such posts in future). Thanks.
Feb ’25
Reply to iPhone Xsmax battery issue
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
Feb ’25
Reply to Triggering onAppear Once or Capturing Button Click Events in DestinationVideo Demo
I use this for making something happen only once. Put it into an Extensions.swift file or something like that: extension View { func onFirstAppear(perform: @escaping () -> Void) -> some View { modifier(OnFirstAppear(perform: perform)) } } private struct OnFirstAppear: ViewModifier { let perform: () -> Void @State private var firstTime = true func body(content: Content) -> some View { content.onAppear { if firstTime { firstTime = false perform() } } } } And you use it like you would use .onAppear, i.e.: .onFirstAppear { // Do something once }
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to After building the project, the search form does not allow typing, but pasting works.
The warnings you see are caused by Apple's code, not yours. It relates to displaying a keyboard, so you can ignore those. Just tried this here and it works fine. iPhone 16 Pro Max 18.2 Simulator. What happens if you click in the text field in your app in the Simulator, and press Cmd+K to toggle the software keyboard? Does it let you type into the field? Can you remove/comment out the .overlay that contains the clear button with image xmark.circle.fill. Maybe the tap onto the field is being intercepted by the Spacer() and that image? I don't know, I'm just trying to see what might cause your issue.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to The error is related to accessing the member resource.
Speak to your team's Account Holder, and try not to put their name on these public forums... You also haven't mentioned which page causes the error.
Replies
Boosts
Views
Activity
Feb ’25
Reply to Music Keeps cutting off
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
Feb ’25
Reply to Recently used emoticons
If you have a suggestion then you should raise it at: https://feedbackassistant.apple.com/ But I would say that your assumption that everyone uses the same 20-30 emojis is absolutely incorrect. How would Apple decide which emojis to put in there? Would you be happy with the rainbow flag being in there and you not able to remove it? (Some people don't like LGBTQ+ people, and I expect they'd rail against Apple for forcing it on them...) You simply cannot assume such a thing. How it works right now is personal to each user; why not just leave it as it is?
Replies
Boosts
Views
Activity
Feb ’25
Reply to chase app not working on Iphone iOS18.3
Welcome to the Developer Forums, but I must say that your issue is not something you should post in these forums. These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. Since you've already contacted Chase and they say it's a known issue that they're working to fix, just wait for Chase to fix it! Posting in here - to random developers around the world - won't get you any closer to having your app working again. We don't work for Chase, and we don't work for Apple. I'm sorry you've got an issue with an app on your iPhone. but Apple cannot help you, and neither can us random developers. Chase know what the issue is, and they're going to fix it. Just be patient (and please don't use these forums for such posts in future). Thanks.
Replies
Boosts
Views
Activity
Feb ’25
Reply to Am I being watched by the police ??
No. I really wish people wouldn't use these forums to ask this exact question every few weeks. It's so tiring. Marking your post as spam.
Replies
Boosts
Views
Activity
Feb ’25
Reply to Not able to view PDF on a website when I open it in Safari browser.
You're in the wrong place. These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding. We are not employees of Apple. Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.
Topic: Safari & Web SubTopic: General
Replies
Boosts
Views
Activity
Feb ’25
Reply to Design Spam 4.3
Ask the App Review team.
Topic: Design SubTopic: General
Replies
Boosts
Views
Activity
Feb ’25
Reply to Coding and Arrays; an Objective issue.
This looks like an amateur AI wrote it. Marking it as spam.
Replies
Boosts
Views
Activity
Feb ’25
Reply to "Multiple commands" error caused by name conflict
What's your problem? Why do I have to go to a comment on Stack Overflow to see what the issue is? Post the specific issue here and we may be able to help you. If you're just firing off duplicates in the hope someone will see it and help you... nah.
Replies
Boosts
Views
Activity
Feb ’25
Reply to Swiftui Rendering issue: View not displayed when using almost full screen height
How about not using .ignoresSafeArea and seeing what happens? You're telling SwiftUI to ignore the safe areas, i.e. the bit where the Dynamic Island is, and manually setting a distance away from that part. Don't use magic numbers; they will change and your app will look rubbish. Adhere to the safe areas and you should be fine.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to copyright complaint
Ask the App Review team. We're just random people like you. We don't have an answer for such a vague question. Go to the source of your issue - ask the App Review team.
Replies
Boosts
Views
Activity
Feb ’25
Reply to Swift Form on iOS
+1 to @Claude31 , and also, if you say there's some layout issue, why not include a screenshot so we can see what you mean?
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Feb ’25