Post

Replies

Boosts

Views

Activity

Reply to Using truncationMode
I don't understand your question. truncationMode lets you define how truncation is done: at the end (tail, in the middle or at the beginning (head). If not defined, I think default is tail (not sure).
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’24
Reply to App crash on button press
Please provide more detailed information. My app crashes when a button is pressed Any button ? A specific one ? Is it UIKit or SwiftUI ? If specific, how is it defined ? In Storyboard ? In code ? If in code, please show the code. Also show the action code for the button.
Topic: App & System Services SubTopic: General Tags:
Sep ’24
Reply to how to setup info.plist
Haven't you a backup of your ptoject ? You should. See here how to recreate it: https://stackoverflow.com/questions/1337403/how-to-regenerate-an-iphone-xcode-info-plist-file To create an empty info.plist file: just select "New File from template..." on the "File" menu in Xcode. In the "New File" window you pick "Resources" on the left hand and then "Property List". Then, define the keys that are needed, such as: /* Bundle name */ "CFBundleName" = "your app name"; /* Privacy - Camera Usage Description */ "NSCameraUsageDescription" = "app needs to access camera to snap a photo."; /* Privacy - Photo Library Usage Description */ "NSPhotoLibraryUsageDescription" = "app needs to access photo rolls to search for."; Don't forget the semi colons.
Sep ’24
Reply to Override primaryColor and so on
"PrimaryColor" color asset name resolves to a conflicting Color symbol "primary". Try renaming the asset. The message is pretty explicit. You cannot override by giving the same name. See detailed answer in Swift.org: https://forums.swift.org/t/changing-color-primary-and-color-secondary/58838 They are static properties that are controlled by the OS, with the color displayed depending on context (e.g., heading vs. general text) and the user's system settings (such as dark mode vs. light mode). As you may know, you can set an accentColor which is a broad theme color that is applied to views and controls. May or may not get you in the direction of what you're trying to achieve: https://developer.apple.com/documentation/swiftui/color/accentcolor
Sep ’24
Reply to Text Max Character Number SwiftUI
Did you set a frame for the Text or TextField ? And use truncationMode Text("This is a block of text that will show up in a text element as multiple lines. The text will fill the available space, and then, eventually, be truncated.") .frame(width: 150, height: 150) .truncationMode(.tail)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’24
Reply to App review screenshot has wrong dimensions
What screenshot should it be ? This size is for 6.7" 6.9" -> 1320 x 2868 6.7" -> 1290 x 2796 6.5" -> 1284 × 2778 Did you use the screenshot for the 6.7" screen size in AppstoreConnect (and not for 6.5") ? It seems that now (very recently) AppstoreConnect requests 6.9" screen size (iPhone 16 ProMax), but it may be optional. If you cannot generate the screenshots for 6.9 and if it is optional, provide only 6.5" Otherwise, try to resize in Preview App to the right dimension.
Sep ’24
Reply to Unable to test builds on testflight, "The requested app is not available or doesn’t exist."
Welcome to the forum. We may understand your frustration, but it would be more useful to have precise and factual information. Which version of Xcode ? How do you try to install the builds ? AppStore Connect ? Other mean ? Once you archived your app, did you receive a mail that it was processed and available for TestFlight ? Did you try to contact support ?
Sep ’24
Reply to Why are normal version iterations consistently rejected
The fact that a version of(here 1.0) passes the review does not mean it will pass later on. It just means that issues were not detected first time but have been spotted in the new review. And app will not be accepted until it is resolved or you provide a convincing explanation. Have you found what other app the reviewer refers to ? Are you aware that your app is so close to another app (including metadata and binary).
Sep ’24