This method contains no initializer, which forces its users to automatically show an alert when the class is instantiated. If for some reason you want to programmatically close the alertview/actionsheet you cannot do it because the internal members are private.