skip to Main Content

how to localize a picker to another language? – Ios swift

@State var selectedSpace : FreeSpace = .Big_Bag Picker("", selection: $selectedSpace) { ForEach(FreeSpace.allCases) { FreeSpace in Text(FreeSpace.rawValue.capitalized) } }.environment(.locale, Locale.init(identifier: "az-Arab")) .foregroundColor(Color("Color")) .padding(.trailing) Knowing that the pickerValues enum FreeSpace: String, CaseIterable, Identifiable { case Big_Bag, Small_Bag var id: Self { self…

VIEW QUESTION

Xcode – Flutter build iOS got error: Requested but did not find extension point with identifier

I just upgraded to Xcode 13.3-beta, running a flutter project got this error: Error output from Xcode build: ↳ 2022-03-02 17:45:38.148 xcodebuild[62848:6695836] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-03-02 17:45:38.148…

VIEW QUESTION
Back To Top
Search