mkko / DrawerView

A drop-in view, to be used as a drawer anywhere in your app
MIT License
374 stars 57 forks source link

Crash with v1.2.1 #16

Closed twiedow closed 3 years ago

twiedow commented 4 years ago

Hi,

first of all thanks for your great work!

After updating from version 1.2.0 to 1.2.1 I'm getting a crash when calling

drawerView?.insetAdjustmentBehavior = .fixed(AppDelegate.shared.window?.safeAreaInsets.bottom ?? 0)

It does not matter calling this in loadView() or viewDidLoad().

Do you have an idea why this happens?

mkko commented 4 years ago

Hi, and thank you for the feedback!

I can't seem to reproduce the issue. What kind of crash are you getting? Does this happen with latest iOS, or if not, which version? Would it be possible to get a working example of the issue?

mkko commented 3 years ago

Please, let me know if this issue is still valid. I'm closing this for now.