Post

Replies

Boosts

Views

Activity

Reply to How do I change the foreground color of a SwiftUI Tab
If I understand what you are looking for, you could use accentColor: struct ContentView: View { @State var selectedIndex: Int = 1 var body: some View { TabView(selection: $selectedIndex) { Text("Hello 1") .tag(1) .tabItem { Image(systemName: "house.fill") Text("Home") } Text("Hello 2") .tag(2) .tabItem { Image(systemName: "gearshape") Text("Settings") } } .accentColor(Color.red) } } But now, you should use colorScheme. Get more here: https://sarunw.com/posts/swiftui-tabbaritem-color/ And https://sarunw.com/posts/swiftui-accentcolor/
Topic: UI Frameworks SubTopic: SwiftUI
Oct ’24
Reply to Help
Which iOS version do you run ? Must be iOS 16 or over. Then, it is located at the very bottom of privacy and security page. If not OK with iOS 16, have a look here: https://forums.developer.apple.com/forums/thread/716697 This may help as well: https://medium.com/@kshitijsharma94/how-to-enable-developer-mode-on-your-ios-device-and-find-your-udid-b3e46cea58a8#:~:text=Open%20Settings%3A%20Go%20to%20your,Tap%20it.
Oct ’24
Reply to Apple Practices Concerning Published Apps and Their Updates
Welcome to the forum. But the forum is not really intended for such "warnings". It is to help solve issues. The fact is not that reviewer does not want you to update, it is that in the new review, he/she has evaluated your games as spam (for good reason or not, that's a question we cannot answer). Have you answered to the review explaining why you consider your apps are not spam ? You have certainly read the guidelines; it may help you understand the reason for rejection and better explain in your comments: 4.3 Spam (a) Don’t create multiple Bundle IDs of the same app. If your app has different versions for specific locations, sports teams, universities, etc., consider submitting a single app and provide the variations using in-app purchase. (b) Also avoid piling on to a category that is already saturated; the App Store has enough fart, burp, flashlight, fortune telling, dating, drinking games, and Kama Sutra apps, etc. already. We will reject these apps unless they provide a unique, high-quality experience. Spamming the store may lead to your removal from the Apple Developer Program. You didn't provide any information that could help to help you, so a few questions: Are your 2 games similar ? that could fall in 4.3.a and cause rejection of both What type of game is it ? Is it in a very crowded game category ? that could fall in 4.3.b Have you identified games that are close to yours on the appstore ? Finally, it is not because app was accepted in a previous review that it will be in a next one. It may just mean that issue was not detected before. Good luck.
Oct ’24
Reply to C++
Welcome to the forum. programming tool and that is, they are not compatible with Sequoia 1.15.1. This includes Xcode What is the incompatibility you get ? C++ is supported in all versions of Xcode: https://developer.apple.com/xcode/cpp/ And Xcode can of course be installed on MacOS 15.1. PS: the exact OS number is MacOS 15.1
Oct ’24
Reply to Creator Codes
What code do you mean precisely ? Now, all apps which are published or notarised get a unique ID. This ID "knows" about the developer identifier. So, AFAIU, that contains somehow the "creator code". PS: why do you mind ?
Oct ’24
Reply to My macOS game was rejected because it requires login. iOS app approved. It is a multiplayer game and a user has to be identified to play the game
My response: Which features are not account-based? Only you can tell.   You need an account to play the game. That's the problem. The rule is that user must be able to test the app before creating an account (even more if it is a paying app). We don't know your game, so it's just a guess. Could you allow user to play as guest, with limitations : level of gold always restarts at 0, you can only jump from level 1 to 2… ? And finally, did you request a 30-minute online meeting with an App Review expert to discuss the guidelines and best practices for a smooth review process.
Oct ’24
Reply to preferredColorScheme not working with Xcode 16
@GRALInfo Thanks for this additional testing. Using AppStorage (for a simple Bool) was an early design decision as the property isDarkMode is used in many views. So I could effectively use an environment variable and initialise in .onAppear or in an init(). I'll go this way if the bug is not corrected (I now definitely think it is an Xcode 16 regression). But falling on such issues in development environment is making me a bit nervous, wondering what else may be broken ? @VisionPro Thanks for the link. It is another way of doing it, but that denies the simplicity of AppStorage. If it is not corrected in a future Xcode release, does it mean that AppStorage is on obsolescence path ?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’24
Reply to preferredColorScheme not working with Xcode 16
@GRALInfo, thanks for the test and the information. Effectively that could be an incompatibility with MacOS < 15. Which nevertheless is an issue, if we cannot keep the apps running correctly on not so older OS versions. To fully assess the point, would you have the opportunity to test the app produced by Xcode 16 on an older OS ? I'll post the answer if I get from FB.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’24