Post

Replies

Boosts

Views

Activity

Reply to UIImage.init - imageLiteralResourceName crashing during App review
Here is the getCurrentDayNumber: func getCurrrentDayNumber() -> String {       let currentDateTime = Date();   let formatter = DateFormatter();   formatter.timeStyle = .none;   formatter.dateStyle = .long;       let dateTimeString = formatter.string(from: currentDateTime);   var dayNumber = dateTimeString.split(separator: " ");   dayNumber = dayNumber[1].split(separator: ",");        return = String(dayNumber[0]); }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’21
Reply to UIImage.init - imageLiteralResourceName crashing during App review
Here is the getCurrentDayNumber: func getCurrrentDayNumber() -> String {       let currentDateTime = Date();   let formatter = DateFormatter();   formatter.timeStyle = .none;   formatter.dateStyle = .long;       let dateTimeString = formatter.string(from: currentDateTime);   var dayNumber = dateTimeString.split(separator: " ");   dayNumber = dayNumber[1].split(separator: ",");        return = String(dayNumber[0]); }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21
Reply to UIImage.init - imageLiteralResourceName crashing during App review
Thanks a lot! That makes a lot of sense, as the reviewer of the App might not be in the US, and I have only tested using the US language/location.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21