Post

Replies

Boosts

Views

Activity

Reply to Attempt to present UIAlertController on ViewController whose view is not in the window hierarchy!
Only one change to prevented from crash let alert = UIAlertController(title: "Image Selection", message: "From where you want to pick this image?", preferredStyle: .actionSheet) only change preferred style as alert instead actionSheet let alert = UIAlertController(title: "Image Selection", message: "From where you want to pick this image?", preferredStyle: .alert)
Topic: UI Frameworks SubTopic: UIKit Tags:
Jan ’22
Reply to Attempt to present UIAlertController on ViewController whose view is not in the window hierarchy!
Only one change to prevented from crash let alert = UIAlertController(title: "Image Selection", message: "From where you want to pick this image?", preferredStyle: .actionSheet) only change preferred style as alert instead actionSheet let alert = UIAlertController(title: "Image Selection", message: "From where you want to pick this image?", preferredStyle: .alert)
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to Xcode 11 Command PhaseScriptExecution failed with a nonzero exit code
Run the following commands from the project directory terminal : % pod deintegrate % pod install Clean build
Replies
Boosts
Views
Activity
Jan ’22