wimagguc / ios-custom-alertview

Custom UIAlertView. Continue adding images and UIViews to dialogs in iOS7+
Other
1.66k stars 394 forks source link

design flaw? #23

Closed ghost closed 10 years ago

ghost commented 10 years ago

Why not contain the UIView in a UIViewController, and then implement willRotateToInterfaceOrientation?

wimagguc commented 10 years ago

The idea is to leave the class as generic as possible so that everyone can use it, regardless of their app's architecture. I've found using an UIViewController to limiting, although in this case it would have indeed come handy.