Post

Replies

Boosts

Views

Activity

Reply to Cannot clear TextField when typing in a new value
Your explanations are a bit hard to follow… I cannot understand how all the objects relate to each others. What happens ? When you have 6 in Reps and type a 7 you get 67 ? Is that it ? Where do you expect the TextField to be cleared? Did you try to do it here, with onTap ? VStack(alignment: .leading) { Text("Reps") .foregroundStyle(.gray) .font(.subheadline) TextField("\(set.reps)", value: $set.reps,formatter:Formatter.valueFormatter) .keyboardType(.decimalPad) .onTapGesture { set.reps = 0 } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’24
Reply to Performance of SwiftUI List
Could you show the exact code of LogDetail(log:) To check if it is the issue, test with the following change: 1og in NavigationLink(destination: Text("same destination")) I found this article that shows the problem is common with large listes: https://fatbobman.com/en/posts/optimize_the_response_efficiency_of_list/ Hope you will find solution in it.
Topic: UI Frameworks SubTopic: SwiftUI
Aug ’24
Reply to swift: documentation for proper import name?
If you search for Notifications in the doc, you will get a suggested reference with a link to User notifications. Other items in the list point to 2 frameworks: import UserNotifications import UserNotificationsUI It may not be necessary to import. Do you get an error message ? If so, you may have to declare the class as conforming to UNUserNotificationCenterDelegate You can file a bug report against documentation.
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’24
Reply to need help with Xcode (I am starting)
Please provide information: Did you succeed to compile your app ? Is it an iOS or Mac app ? When does it occur ? When you open Xcode ? When you try to compile ? When you try to archive ? When running the app in simulator ? When trying to run on device ? Which version of Xcode ? Did you search the forums for similar questions ? https://forums.developer.apple.com/forums/thread/725865 https://stackoverflow.com/questions/65989461/cant-sign-in-in-xcode-couldn-t-communicate-with-a-helper-application
Aug ’24
Reply to Information
As I told you in your other thread with the same question, the best is probably to go and measure yourself in a shop. But you can also evaluate from the image. Knowing, from Apple specs: physical width = 76.7 mmm, and is 90 mm on the image the dimension you look for (blue diagonal) measures 55 mm on image the real dimension is 76.7 * 55 / 90 = 46.87 mm. Don't forget to close your threads by making the correct answer if you got it.
Topic: Community SubTopic: Apple Developers Tags:
Aug ’24
Reply to About Apple's Review
Yes, seriously. Here are Apple's requirements: https://developer.apple.com/support/app-account/#:~:text=Before%20you%20begin%2C%20you'll,for%20the%20entire%20enrollment%20process. follow these steps to enroll in the Apple Developer Program through the Apple Developer app on iPhone, iPad, or Mac. Before you begin, you’ll need: An iPhone or iPad with Touch ID, Face ID, or passcode enabled, or a Mac with the T2 Security Chip and Apple Silicon. You must use the same device for the entire enrollment process. An Apple ID with two-factor authentication turned on. Your Apple ID information must be valid and up to date — including, but not limited to, your first name (given name), last name (family name), address, phone number, trusted phone number, and trusted devices. The latest version of the Apple Developer app installed on your device. To sign in to iCloud on your device. You may also read this: https://stackoverflow.com/questions/64896178/mandatory-to-have-an-ios-device-to-deploy-in-app-store
Jul ’24
Reply to UIScrollView Incorrectly Scrolls When Selecting Text in UITextView on iOS 15
Why do you disable the scroll of the textView ? textView.isScrollEnabled = false But it is not a very good idea to embed a TextView (scrollView) inside a ScrollView: touch events may mix up, as explained here: https://stackoverflow.com/questions/27652334/uitextview-inside-uiscrollview-with-autolayout
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to This app is marketed as being able to bypass geo-restrictions or content limitations.
@Anumundu, what dark paw said is very important. You should take care not to try to walk around guidelines and fool reviewer in a manner that could be seen as a breach of code of conduct (guideline 5.6). That could lead to a termination of your account. So play it open and fair with reviewer.
Replies
Boosts
Views
Activity
Aug ’24
Reply to Cannot clear TextField when typing in a new value
Your explanations are a bit hard to follow… I cannot understand how all the objects relate to each others. What happens ? When you have 6 in Reps and type a 7 you get 67 ? Is that it ? Where do you expect the TextField to be cleared? Did you try to do it here, with onTap ? VStack(alignment: .leading) { Text("Reps") .foregroundStyle(.gray) .font(.subheadline) TextField("\(set.reps)", value: $set.reps,formatter:Formatter.valueFormatter) .keyboardType(.decimalPad) .onTapGesture { set.reps = 0 } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Battery health issue
Welcome to the forum. But that's not a question for this forum, which is intended to help developers in their apps development. You'd better post on the official support community: https://discussions.apple.com/welcome
Replies
Boosts
Views
Activity
Aug ’24
Reply to Performance of SwiftUI List
Could you show the exact code of LogDetail(log:) To check if it is the issue, test with the following change: 1og in NavigationLink(destination: Text("same destination")) I found this article that shows the problem is common with large listes: https://fatbobman.com/en/posts/optimize_the_response_efficiency_of_list/ Hope you will find solution in it.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Aug ’24
Reply to Unable to debug app on phone
Did you try to de-register and then re-register the iPhone on Xcode ?
Replies
Boosts
Views
Activity
Aug ’24
Reply to swift: documentation for proper import name?
If you search for Notifications in the doc, you will get a suggested reference with a link to User notifications. Other items in the list point to 2 frameworks: import UserNotifications import UserNotificationsUI It may not be necessary to import. Do you get an error message ? If so, you may have to declare the class as conforming to UNUserNotificationCenterDelegate You can file a bug report against documentation.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to .onAppear print not working
I tested your code on simulator in Xcode 16.0ß2 and it works correctly (test is printed). Have you checked that the console is visible. Check the lower right icons in Xcode which should be like this:
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Cloning an existing app already on the app store
Whet do you mean exactly by cloning ? But if it is the same app under another name, it should normally be rejected as spam. Unless you first remove the other app. And even if it worked the first time, it could be rejected later during an update.
Replies
Boosts
Views
Activity
Aug ’24
Reply to I'm publising an app in the Apple store and i got this error
Please provide information. Could you show the screen with the error message ? And the format of the phone number you have used ? Format for phone numbers is the usual one: +country code number (without leading digit for local calls). Exemples: Germany +49 917xxxxxxx4 USA +1 347xxxxxxx9 France +33 97xxxxxxx3
Replies
Boosts
Views
Activity
Aug ’24
Reply to need help with Xcode (I am starting)
Please provide information: Did you succeed to compile your app ? Is it an iOS or Mac app ? When does it occur ? When you open Xcode ? When you try to compile ? When you try to archive ? When running the app in simulator ? When trying to run on device ? Which version of Xcode ? Did you search the forums for similar questions ? https://forums.developer.apple.com/forums/thread/725865 https://stackoverflow.com/questions/65989461/cant-sign-in-in-xcode-couldn-t-communicate-with-a-helper-application
Replies
Boosts
Views
Activity
Aug ’24
Reply to Information
As I told you in your other thread with the same question, the best is probably to go and measure yourself in a shop. But you can also evaluate from the image. Knowing, from Apple specs: physical width = 76.7 mmm, and is 90 mm on the image the dimension you look for (blue diagonal) measures 55 mm on image the real dimension is 76.7 * 55 / 90 = 46.87 mm. Don't forget to close your threads by making the correct answer if you got it.
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Macbook Pro 2020 Intel unable to distribute/validate
Tested on Xcode 14.5-16 (Beta) Do you mean MacOS 14.5 and Xcode 16 ß ? Or tested on both Xcode 14.5 and 16ß ? Not clear. Why not using a release Xcode 15.4 for instance ?
Replies
Boosts
Views
Activity
Aug ’24
Reply to About Apple's Review
Yes, seriously. Here are Apple's requirements: https://developer.apple.com/support/app-account/#:~:text=Before%20you%20begin%2C%20you'll,for%20the%20entire%20enrollment%20process. follow these steps to enroll in the Apple Developer Program through the Apple Developer app on iPhone, iPad, or Mac. Before you begin, you’ll need: An iPhone or iPad with Touch ID, Face ID, or passcode enabled, or a Mac with the T2 Security Chip and Apple Silicon. You must use the same device for the entire enrollment process. An Apple ID with two-factor authentication turned on. Your Apple ID information must be valid and up to date — including, but not limited to, your first name (given name), last name (family name), address, phone number, trusted phone number, and trusted devices. The latest version of the Apple Developer app installed on your device. To sign in to iCloud on your device. You may also read this: https://stackoverflow.com/questions/64896178/mandatory-to-have-an-ios-device-to-deploy-in-app-store
Replies
Boosts
Views
Activity
Jul ’24