Post

Replies

Boosts

Views

Activity

Reply to Unable to add for review
You have changed nothing on your account, that's the problem. You have now to declare whether or not your are a trader (selling apps). Get details here: https://developer.apple.com/help/app-store-connect/manage-compliance-information/manage-european-union-digital-services-act-trader-requirements/ Não alterou nada na sua conta, é esse o problema. Tem agora de declarar se é ou não um comerciante (que vende aplicações). Para mais pormenores, consulte: https://developer.apple.com/help/app-store-connect/manage-compliance-information/manage-european-union-digital-services-act-trader-requirements/
May ’24
Reply to Alterar o idioma para PT(Português)
I hope I understand correctly your question. When you published on the AppStore, have you defined several languages (Portuguese and English for instance) ? Have you defined Portuguese as the main language ? If not do it with a new release of your app: https://stackoverflow.com/questions/10967722/change-default-language-for-app-listing-in-itunes-connect Quando publicaram na AppStore, definiram várias línguas (português e inglês, por exemplo)? Definiu o português como língua principal? Se não o fez, faça-o com uma nova versão da sua aplicação: https://stackoverflow.com/questions/10967722/change-default-language-for-app-listing-in-itunes-connect
May ’24
Reply to VStack initialization without parentheses
More details here, in Swift Programming language (functions & closures): « A closure passed as the last argument to a function can appear immediately after the parentheses. When a closure is the only argument to a function, you can omit the parentheses entirely. » The Swift Programming Language (Swift 5.7)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’24
Reply to VStack initialization without parentheses
The init is defined as: init( alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content: () -> Content ) So, you can also call struct ContentView: View { var body: some View { VStack(content: { Text("sth") }) } } The Stack { } where the content (closure) is outside the parameters list, is just a writing facility. You can do the same in other Swift functions: array.map() { closure } or array.map { closure}
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’24
Reply to When using index in a ForEach loop in SwiftUI, you might encounter an "index out of range" error.
So, when you try: ForEach(Array(viewModel.testValues.enumerated()), id:\.offset) { index, data in What is the index value that causes crash ? Could you also add a print and show what you get: .onAppear { print("index", index) // <<-- ADD THIS if !viewModel.isLoading, viewModel.testValues.count - 2 == index { viewModel.fetch() print("fetch. index", index, viewModel.testValues.count) // <<-- ADD THIS } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’24
Reply to Urgent: Help Needed with App Store Submission Issue
We recently encountered an issue What issue ???   As I'm not entirely familiar with app development/coding, I'm reaching out to seek help with this. The forum is the right place… But Help on what ? What is your question ?   We also want to know if the issue we're experiencing Which issue ? When you post a question, please provide detailed information if you want to get help.
Apr ’24
Reply to UIButton action not called in UIHostingController
Just a guess without more code. Add addChild addChild(vc) // <<-- ADD THIS self.view.addSubview(button)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to UIButton action not called in UIHostingController
Please show complete, executable code so that one can test. We don't even know how SwiftUIView is defined.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to Unable to add for review
You have changed nothing on your account, that's the problem. You have now to declare whether or not your are a trader (selling apps). Get details here: https://developer.apple.com/help/app-store-connect/manage-compliance-information/manage-european-union-digital-services-act-trader-requirements/ Não alterou nada na sua conta, é esse o problema. Tem agora de declarar se é ou não um comerciante (que vende aplicações). Para mais pormenores, consulte: https://developer.apple.com/help/app-store-connect/manage-compliance-information/manage-european-union-digital-services-act-trader-requirements/
Replies
Boosts
Views
Activity
May ’24
Reply to Alterar o idioma para PT(Português)
I hope I understand correctly your question. When you published on the AppStore, have you defined several languages (Portuguese and English for instance) ? Have you defined Portuguese as the main language ? If not do it with a new release of your app: https://stackoverflow.com/questions/10967722/change-default-language-for-app-listing-in-itunes-connect Quando publicaram na AppStore, definiram várias línguas (português e inglês, por exemplo)? Definiu o português como língua principal? Se não o fez, faça-o com uma nova versão da sua aplicação: https://stackoverflow.com/questions/10967722/change-default-language-for-app-listing-in-itunes-connect
Replies
Boosts
Views
Activity
May ’24
Reply to It can't be added for review
I amp confused by your iOS version numbers. It seems you have an existing 1.7.36 And now you try to create a 1.3.37, which is lower. The new version should be at least 1.7.37.
Replies
Boosts
Views
Activity
May ’24
Reply to Looking to use @AppStorage, but avoid depending on UserDefaults.standard
AFAIK, no way if userDefaults is a property of the model. Did you try to declare userDefaults as environment var instead ?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to We need more RAM
Have you evaluated how much RAM you need for this project ? Or do you just want the max possible (to be future proof). Clearly intel based was flexible to upgrade RAM which M series are not at all.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to Error: No exact matches in reference to static method 'buildExpression'
Please show complete code. Where and how is customToken defined ? Is it an optional ? If optional String, call should probably be: Auth.auth().signIn(withCustomToken: customToken ?? "") { user, error in // some code }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to VStack initialization without parentheses
More details here, in Swift Programming language (functions & closures): « A closure passed as the last argument to a function can appear immediately after the parentheses. When a closure is the only argument to a function, you can omit the parentheses entirely. » The Swift Programming Language (Swift 5.7)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to VStack initialization without parentheses
The init is defined as: init( alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content: () -> Content ) So, you can also call struct ContentView: View { var body: some View { VStack(content: { Text("sth") }) } } The Stack { } where the content (closure) is outside the parameters list, is just a writing facility. You can do the same in other Swift functions: array.map() { closure } or array.map { closure}
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to Can't Select UITextField in UITableView
Check that userInteraction is enabled. For instance, in private func configure() self.isUserInteractionEnabled = true
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to How to get around asking for DOB
As Scott outlined, why do you need the exact Date of Birth ? You have no way to check it anyway. What would you miss by asking whether or not user is more than 18 ? It also seems you ask for gender. Why do you need ?
Replies
Boosts
Views
Activity
May ’24
Reply to Due to Bluetooth i can't simulate my apps workflows - so how do i get the screen shots ?
Have you looked at this, for screenshot generation ? https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock
Replies
Boosts
Views
Activity
May ’24
Reply to When using index in a ForEach loop in SwiftUI, you might encounter an "index out of range" error.
So, when you try: ForEach(Array(viewModel.testValues.enumerated()), id:\.offset) { index, data in What is the index value that causes crash ? Could you also add a print and show what you get: .onAppear { print("index", index) // <<-- ADD THIS if !viewModel.isLoading, viewModel.testValues.count - 2 == index { viewModel.fetch() print("fetch. index", index, viewModel.testValues.count) // <<-- ADD THIS } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to Urgent: Help Needed with App Store Submission Issue
We recently encountered an issue What issue ???   As I'm not entirely familiar with app development/coding, I'm reaching out to seek help with this. The forum is the right place… But Help on what ? What is your question ?   We also want to know if the issue we're experiencing Which issue ? When you post a question, please provide detailed information if you want to get help.
Replies
Boosts
Views
Activity
Apr ’24