Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions LMAlertView/LMAlertView.m
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ - (void)transformAlertContainerViewForOrientation{
- (void)show
{
if ([self.delegate respondsToSelector:@selector(willPresentAlertView:)]) {
[self.delegate willPresentAlertView:self];
[self.delegate willPresentAlertView:(UIAlertView *)self];
}

id<UIApplicationDelegate> appDelegate = [[UIApplication sharedApplication] delegate];
Expand Down Expand Up @@ -472,7 +472,7 @@ - (void)show
modalTransformAnimation.toValue = [NSValue valueWithCATransform3D:transformTo];
modalTransformAnimation.completion = ^(BOOL finished){
if ([self.delegate respondsToSelector:@selector(didPresentAlertView:)]) {
[self.delegate didPresentAlertView:self];
[self.delegate didPresentAlertView:(UIAlertView *)self];
}
};
self.representationView.layer.transform = transformTo;
Expand Down