hi how to implement code for multiple custom buttons Alert message code and how to set the backgound custom image for the alert message so give guide for my request in iphone.
Asked
Active
Viewed 209 times
2 Answers
2
I would go for my own like this,
UIView *myAlertView = [[UIView alloc] initWithFrame:CGRectMake(50.0, 190.0, 110.0, 100.0)];
myAlertView.backgroundColor=[UIColor clearColor];
[self.view addSubview:myAlertView];
UIImageView *imgAlertBack = [[UIImageView alloc] initWithFrame:myAlertView.frame];
imgAlertBack.image = [UIImage imageNamed:@"AlertBackgroundImageWithNiceCurves.png"];
[myAlertView addSubview:imgAlertBack];
[myAlertView addSubview:<add your buttons>];

Damitha Raveendra
- 1,721
- 17
- 24
1
It is very difficult to implement and customize alertview, there is some tutorial about this follow this http://mobile.tutsplus.com/tutorials/iphone/ios-sdk-uialertview-custom-graphics/
http://kwigbo.com/post/318396305/iphone-sdk-custom-uialertview-background-color

Community
- 1
- 1

Ankit Gupta
- 958
- 1
- 6
- 19