Post

Replies

Boosts

Views

Activity

DateFormatter is giving wrong date with Locale ar_AE (iOS 16 and above OS)
let dateFormatter = DateFormatter() dateFormatter.dateFormat = "yyyy-MM-dd" let localeIdentifier = "ar_AE" dateFormatter.locale = Locale(identifier: localeIdentifier) if let date = dateFormatter.date(from: "2022-12-26") {   dateFormatter.dateFormat = "dd MMM YYYY"   let displayDate = dateFormatter.string(from: date)   print(displayDate) // "26 ديسمبر 2023" } Converted date is one year ahead of the actual date. This issue occurs only with specific dates ranging from 26-Dec-2022 to 31st-Dec-2022, when Arabic locale is selected and on IOS 16.0 and above devices.
5
0
2.8k
Dec ’22
Troubleshooting Spotlight Search Visibility for Keywords like "Food" and "Grocery"
I am seeking advice on improving the visibility of my iOS app, "noon Shopping, Food, Grocery," in Spotlight search results for certain keywords. Despite the app's name containing keywords such as "food" and "grocery," it does not seem to appear as prominently in Spotlight searches for these terms as other apps, like "Careem - rides, food & more" which appears readily when searching for "food."
1
0
423
Aug ’24