2012-04-26 31 views

回答

2

我會去爲自己喜歡這個,

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>]; 
相關問題