candostdagdeviren / CDAlertView

Highly customizable alertview and alert/notification/success/error/alarm popup written in Swift
https://candostdagdeviren.github.io/CDAlertView/
MIT License
1.14k stars 86 forks source link

Add empty type to use without circle at the top #6

Closed candostdagdeviren closed 6 years ago

candostdagdeviren commented 7 years ago

Add an empty type to hide circle at the top. By this, users will be able to use the alert like default UIAlertController

neeraj92144 commented 6 years ago

but it is showing error ( Type 'CDAlertViewType?' has no member 'empty' ) message when I wrote this peace of code as I already imported CDAlertView: -> let alert = CDAlertView(title: "Title", message: "message", type: .empty)

candostdagdeviren commented 6 years ago

Sorry for the late response. I just saw this. Don't know why didn't see the notification. The type of empty is not there yet. This is the issue for this feature request. If you would like to use your own image, you can use custom type in CDAlertViewType

candostdagdeviren commented 6 years ago

Released with version 0.8.0