Post

Replies

Boosts

Views

Activity

Reply to Screen time
Thanks @Developer Tools Engineer, I'm wondering how to use it, because I instantiate this controller in my app and it does not work. (Obviously I accepted the screen time permission after requiring it) Which are the requirements to use? (which extension should I use or how to register the controller to be called by the system) Thanks in advance
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’23
Reply to TextField does not work correctly
Hi @alextim123, I think you're using wrongly the binding, I mean, a binding usually is injected directly from a view that owns a state to another view for the next purpose, when you change something in one view, then the other needs the data updated. In that case, your Problem Store is the object which owns the real data, and it is not being retained by anyone (as far as I can see). So the suggestion is to use an @StateObject var problemStore in the first view, pass a binding to the second one, or use an @StateObject in the first and @ObservedObject in the second one. By Doing this, you avoid the redraw of the view and remove your data on the text field because the data is stored in the logic class.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’23
Reply to Deeplink Security
I think that there's no way to do that because the Apple app site association json that you provide on your website has to have data that matches your app identifier. The app identifier or bundle identifier it's unique. The problem could come up when you are using a redirect on your site with the scheme URL, in that case, whichever app could set your scheme to open their app.
Topic: Privacy & Security SubTopic: General Tags:
Apr ’23
Reply to Mac Catalyst can't schedule local notifications
It does not work
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to Apple sign in fail "Sign Up Not Completed"
Same issue
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to Screen time
Thanks @Developer Tools Engineer, I'm wondering how to use it, because I instantiate this controller in my app and it does not work. (Obviously I accepted the screen time permission after requiring it) Which are the requirements to use? (which extension should I use or how to register the controller to be called by the system) Thanks in advance
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to requiresDNSSECValidation sample over request
@meaton Any code sample to test it with a well-known domain that has DNSSEC configured? Thanks in advance.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to Custom font doesn't appear on Storyboard custom font list
You have to load programmatically the font before use it.
Replies
Boosts
Views
Activity
May ’23
Reply to Xcode cloud errors
This was solved after 1 week, when apple changed something in the xcode cloud.
Replies
Boosts
Views
Activity
May ’23
Reply to Adverbs of frequency, Dates
FB12204237
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’23
Reply to Xcode cloud errors
No luck with it. Neither downgrading the OS version ... It started on Friday Morning. Any issues on going @eskimo?
Replies
Boosts
Views
Activity
May ’23
Reply to Xcode cloud errors
I tried to solve it by adding a pre-action to remove simulators' cache, but it didn't solve it. The next step, change the simulators, and crossing fingers to overcome this Apple bug.
Replies
Boosts
Views
Activity
May ’23
Reply to TextField does not work correctly
Hi @alextim123, I think you're using wrongly the binding, I mean, a binding usually is injected directly from a view that owns a state to another view for the next purpose, when you change something in one view, then the other needs the data updated. In that case, your Problem Store is the object which owns the real data, and it is not being retained by anyone (as far as I can see). So the suggestion is to use an @StateObject var problemStore in the first view, pass a binding to the second one, or use an @StateObject in the first and @ObservedObject in the second one. By Doing this, you avoid the redraw of the view and remove your data on the text field because the data is stored in the logic class.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’23
Reply to Dark mode switching modifies ObservedObject
Who owns the AllObjects? How do you instance the view? Does it happen if you use @StateObject instead of @ObservedObject? Let me know what happens.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’23
Reply to Failed to build ContentView.swift
Remove derived data close from dock simulators and Xcode Open the terminal to run the following command: xcrun simctl --set previews delete all Try again and let me know if it works
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’23
Reply to Help me understand .onAppear/.task aka app authentication state
You can use onChange(appState.isLogged) to reach your purpose, and about the other question, I would try to set the on appear modifier upper, maybe just after the scroll view, and if it doesn't work after the text padding. Let me know what happens.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’23
Reply to Como duplicar aplicativo?
Hi: This forum is for Apple developers, so, you're not getting a response about it. Contact apple support at https://support.apple.com/contact and ask them about your doubts and problems.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Apr ’23
Reply to Deeplink Security
I think that there's no way to do that because the Apple app site association json that you provide on your website has to have data that matches your app identifier. The app identifier or bundle identifier it's unique. The problem could come up when you are using a redirect on your site with the scheme URL, in that case, whichever app could set your scheme to open their app.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’23