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
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.
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.
Apr ’23