Post

Replies

Boosts

Views

Activity

Reply to fullScreenCover does not work correctly on iOS 14.1 ~ 14.4
Well both can't be presented at the same time. When $isPresente1 is set true always set $isPresente2 to false and vice versa. The correct thing to will be to use only one fullScreenCover and based on some other state show the appropriate view. Something like below but you will have to work out the details. content .fullScreenCover(isPresented: $isPresente1 || $isPresente2, content: { if isPresente1 { return SOMEView() } else if isPresente2 { return SomeView2() } else { EmptyView() } })
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’22
Reply to is HTTPS://samllappdeveloperassistance.com a scam?
It's very real for US-based developers. https://smallappdeveloperassistance.com Here is the actual federal court record: https://www.govinfo.gov/app/details/USCOURTS-cand-4_19-cv-03074 One of the four law firms: https://www.hbsslaw.com/press/apple-ios-app-developers/us-ios-developers-to-benefit-from-100-million-apple-small-developer-assistance-fund-and-changes-to-app-store-policies-in-developer-antitrust-class-action-settlement Important Dates March 21, 2022 — Exclusion Deadline March 21, 2022 — Objection Deadline May 20, 2022 — Claim Deadline June 7, 2022, at 2 P.M. — Final Approval Hearing Do your due diligence in finding the three law firms but this is one of the four law firms that handled the case for the various plaintiffs and mentions the same site above responsible for dispursing the funds. The Canadian Developers are probably sleeping on this one
May ’22
Reply to SecKeyCreateRandomKey for SecureEnclave crash on iOS 13 simulator
If running on the simulator the MacBook must be equipped with a touch bar or touch id otherwise should be supported on an A7 or later A-series CPU. To prevent the crash on a sim with a touch bar or touch id remove kSecAttrTokenID as String: kSecAttrTokenIDSecureEnclave, or exclude it from sim builds. https://developer.apple.com/documentation/security/certificate_key_and_trust_services/keys/storing_keys_in_the_secure_enclave
Topic: Privacy & Security SubTopic: General Tags:
May ’22
Reply to Menu Picker .onChange (doesn't work for the first selection)
This example shows that it does print on the first selection: import SwiftUI struct ContentView: View {     @State var fruitName: String = "none"     var body: some View {         VStack {             Menu {                 PickFruit(fruitName: $fruitName)             } label: {Text("Select A Fruit")}             Text(fruitName)         }         .onChange(of: fruitName) { [fruitName] newValue in // move onchange to here             print(newValue)             print(fruitName)         }     } } struct PickFruit: View {     let myFruits: [String] = ["Apple","Banana","Grape","Peach"]     @Binding var fruitName: String     var body: some View {         VStack {             Text(fruitName)             Picker("Select", selection: $fruitName) {                 ForEach(myFruits, id: \.self) { myFruits in                     Text(myFruits)                 }             }         }     } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’22
Reply to iOS 15 - UIButtons checking themselves due to tableView.reloadData()
Revisit the design of your data model. Does it represent the state of each question as in being answered or not answered in addition to the question being answered? So when the table view is reloaded it takes into the various states persisted in the data model as it renders the cell.
Replies
Boosts
Views
Activity
May ’22
Reply to Silent Remote Push Notifications not delivered to app
The system sometimes does this.
Replies
Boosts
Views
Activity
May ’22
Reply to fullScreenCover does not work correctly on iOS 14.1 ~ 14.4
Well both can't be presented at the same time. When $isPresente1 is set true always set $isPresente2 to false and vice versa. The correct thing to will be to use only one fullScreenCover and based on some other state show the appropriate view. Something like below but you will have to work out the details. content .fullScreenCover(isPresented: $isPresente1 || $isPresente2, content: { if isPresente1 { return SOMEView() } else if isPresente2 { return SomeView2() } else { EmptyView() } })
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to altool --validate-app hung on "Contacting Apple Services..."
You might have better luck using one of your Code Level Support Tickets where Apple can investigate directly & discreetly.
Replies
Boosts
Views
Activity
May ’22
Reply to is HTTPS://samllappdeveloperassistance.com a scam?
It's very real for US-based developers. https://smallappdeveloperassistance.com Here is the actual federal court record: https://www.govinfo.gov/app/details/USCOURTS-cand-4_19-cv-03074 One of the four law firms: https://www.hbsslaw.com/press/apple-ios-app-developers/us-ios-developers-to-benefit-from-100-million-apple-small-developer-assistance-fund-and-changes-to-app-store-policies-in-developer-antitrust-class-action-settlement Important Dates March 21, 2022 — Exclusion Deadline March 21, 2022 — Objection Deadline May 20, 2022 — Claim Deadline June 7, 2022, at 2 P.M. — Final Approval Hearing Do your due diligence in finding the three law firms but this is one of the four law firms that handled the case for the various plaintiffs and mentions the same site above responsible for dispursing the funds. The Canadian Developers are probably sleeping on this one
Replies
Boosts
Views
Activity
May ’22
Reply to Offering subscription for specific countries
Do you see the ability to do so anywhere in the API frameworks, app-purchase setups or anywhere else unless you only permit your in the target stores?
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to In App Purchase for Membership
What specific App technology of the device will your app be implementing? If none then stick to a website?
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to swift mac swift app fails to show image view crashes on first run
Are the sandbox entitlements under capabilities enabled and any permission request implemented?
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to SecKeyCreateRandomKey for SecureEnclave crash on iOS 13 simulator
If running on the simulator the MacBook must be equipped with a touch bar or touch id otherwise should be supported on an A7 or later A-series CPU. To prevent the crash on a sim with a touch bar or touch id remove kSecAttrTokenID as String: kSecAttrTokenIDSecureEnclave, or exclude it from sim builds. https://developer.apple.com/documentation/security/certificate_key_and_trust_services/keys/storing_keys_in_the_secure_enclave
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to React Native App crashing on ios 15.4.1
Please post your issue on the React Native github site: https://github.com/facebook/react-native/issues
Replies
Boosts
Views
Activity
May ’22
Reply to Xamarin.iOS loading xaml hangs randomly
Xamarin is not an Apple product please post your question at microsoft.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to Apple 403 detected - Access forbidden - EXPO React Native
Post your question here https://github.com/facebook/react-native/issues react is not an apple product.
Replies
Boosts
Views
Activity
May ’22
Reply to react native app crashs on launch testFlight
Ask this question on the React Native github project.
Replies
Boosts
Views
Activity
Jun ’22
Reply to 169.254.255.255 doesn't broadcast ?
It still has to find the broadcaster by mac-address by asking who is the broadcaster.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to Menu Picker .onChange (doesn't work for the first selection)
This example shows that it does print on the first selection: import SwiftUI struct ContentView: View {     @State var fruitName: String = "none"     var body: some View {         VStack {             Menu {                 PickFruit(fruitName: $fruitName)             } label: {Text("Select A Fruit")}             Text(fruitName)         }         .onChange(of: fruitName) { [fruitName] newValue in // move onchange to here             print(newValue)             print(fruitName)         }     } } struct PickFruit: View {     let myFruits: [String] = ["Apple","Banana","Grape","Peach"]     @Binding var fruitName: String     var body: some View {         VStack {             Text(fruitName)             Picker("Select", selection: $fruitName) {                 ForEach(myFruits, id: \.self) { myFruits in                     Text(myFruits)                 }             }         }     } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’22