cruffenach / CRToast

A modern iOS toast view that can fit your notification needs
MIT License
4.17k stars 463 forks source link

Custom height issue on Swift 3 #216

Closed abhijith2smb closed 7 years ago

abhijith2smb commented 7 years ago

Hi all,

I am working on Xcode 8.1 with Swift 3.

My code is: kCRToastNotificationTypeKey : CRToastType.custom.rawValue, kCRToastNotificationPreferredHeightKey : 150

But the height remains same as status bar.

abhijith2smb commented 7 years ago

Converting these values to NSNumber(value: .rawValue) helped me.