Post

Replies

Boosts

Views

Activity

TextField and TextEditors not working on Catalyst App
I have some textfields and text editors inside a VStack inside an HStack inside a scroll View; Example: Swift VStack{ HStack { /*Some stuff here*/ ScrollView{ /*Some other stuff here*/ LazyVStack{ ForEach(arrayOfelements, id:\.self) { element in LazyHStack { ForEach(element.blocks, id:\.self) { block in VStack { TextField("placeholder", text: $block.title) TextEditor(text: $block.body) } } } } } } } } on the iOS and iPad App everything works fine, on the Mac Versione the textfield and the text editors are not editable until I do a right click on one of them, but then same behavior for the others. Someone have the same problem? Have you a solution?
2
0
1.5k
May ’21
PKPaymentAuthorizationController.canMakePayments(usingNetworks:) returns FALSE
Hi everyone, I'm build an App with Catalyst for Mac, iPhone and iPad. I've configured Apple Pay and on iPhone and iPad works fine. The problem is on the Mac, case when I call the func to check if the device canMakePayments(usingNetworks:) (with Stripe API) it always returns false and the payment sheet is not display. If I check only canMakePayment() it returns true. I'm trying on a MacBook Pro M1, so there is the compatibility with Apple Pay. I've a card on my Wallet Have you some solutions?
1
0
1.3k
Jun ’22