Post

Replies

Boosts

Views

Activity

How to change font color on
Hello, I need help because I don't know how to change the color of cancel title button at the trailing of the search bar with SwiftUI. NavigationView {       ZStack {        // ScrollView and other content       }       .navigationTitle("SuperNews SwiftUI")       .navigationBarTitleDisplayMode(.inline)       .toolbarBackground(.visible, for: .navigationBar)       .toolbarBackground(Color("SuperNewsDarkBlue"), for: .navigationBar)       .background(LinearGradient(gradient: Gradient(colors: [Color("SuperNewsBlue"), Color("SuperNewsDarkBlue"), Color("SuperNewsDarkBlue"), Color("SuperNewsDarkBlue"), .black]), startPoint: .top, endPoint: .bottom))     } With UIKit, I know how to do it: // Setting cancel button title UIBarButtonItem.appearance(whenContainedInInstancesOf: [UISearchBar.self]).title = "Annuler" // Setting cancel button title color UIBarButtonItem.appearance(whenContainedInInstancesOf: [UISearchBar.self]).tintColor = .label Can you help me please ? I don't know how to do it ? Thanks.
0
0
582
Jan ’23
Cannot download and install any simulator with Xcode 15
Hello, I have issue when downloading and installing iOS 17 simulators. I have deleted them since the crash of iPhone 15 Pro and 15 Pro Simulators from Xcode 15 RC, and I cannot reinstall them. It's a server issue with HTTP 400 code: Bad request. Can you help me with this issue. Note: any kind of simulator cannot be downloaded actually due to this error code. Details of failure right below: Domain: DataGatheringNSURLSessionDelegate Code: 1 User Info: { DVTErrorCreationDateKey = "2023-09-19 14:25:10 +0000"; } -- System Information macOS Version 13.5.2 (Build 22G91) Xcode 15.0 (22265) (Build 15A240d) Timestamp: 2023-09-19T16:25:10+02:00 Thanks for your answer.
1
2
858
Sep ’23
Cannot fix ITMS-90738 and ITMS-90683 issues
Hello, I need help because I have not succeeded to fix the following issues: ITMS-90738: Invalid purpose string value - The “NSLocationAlwaysAndWhenInUseUsageDescription” value for the NSLocationAlwaysAndWhenInUseUsageDescription key isn’t allowed in “SuperNewsV2UIKit.app”. Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the “SuperNewsV2UIKit.app” bundle should contain a NSLocationAlwaysAndWhenInUseUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources. ITMS-90683: Missing purpose string in Info.plist - Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the “SuperNewsV2UIKit.app” bundle should contain a NSLocationWhenInUseUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources. There is actually what I have done and I don't understand yet why the issue is not fixed after uploading on App Store Connect: Main info.plist: Info.plist (disabled) Localizables, I use the new String Catalog: Note: NSLocationWhenInUseUsageDescription is needed on localizables, even after replacing with NSLocationAlwaysAndWhenInUseUsageDescription, my location feature on map won't work, even for asking user permission. Can you help me please to fix this issue ? Documentation has not helped me to fix the issue after applying the recommendations. Thanks in advance.
1
0
1.3k
Oct ’23