SachK13 / SKActivityIndicatorView

A lightweight And Easy-To-Use ActivityIndicator For Your iOS App.
MIT License
66 stars 21 forks source link

Crash on Application launch (Only once when application is installed) and permission popup is presented e.g. PushNotifications permission popup #16

Open AQRMKB opened 3 years ago

AQRMKB commented 3 years ago

Fatal error: Unexpectedly found nil while unwrapping an Optional value: file SKActivityIndicatorView/SKActivityIndicatorView.swift, line 150 2021-07-16 16:32:03.189337+0500 TCLiOS[1212:615830] Fatal error: Unexpectedly found nil while unwrapping an Optional value: file SKActivityIndicatorView/SKActivityIndicatorView.swift, line 150

yo113 commented 2 years ago

Same error but on a different line after application launch SKActivityIndicatorView/SKActivityIndicatorView.swift:145: Fatal error: Unexpectedly found nil while unwrapping an Optional value

aliwaseem72 commented 2 years ago

@yo113 I'm also getting the same error. Can you guide me that how to resolve it? I delete the scan delegate and remove it from info.PList but its not a proper way. So can you guid that how to solve it?

backgroundView = UIView(frame: window!.frame)

Crash on this line in new version.

@SachK13 can you let me know the solution please. I'm stuck and not able to make my app live.