First you need to make the alert box bigger to accomodate your controls, yet it has to be placed at the center.
For this, instead of setting the frame size, your the message text with "\n"s as necc. e.g.:
alert = [[UIAlertView alloc] initWithTitle:@"Rate this picture."
message:@"Tap a star to rate.\n\n\n\n " /*------ look at here!!----*/
delegate:self
cancelButtonTitle:nil
otherButtonTitles:nil];
Then use a UIAlertViewDelegate for the alertview.
override its, viewWillAppear:
add your buttons and set their frames manually at desired position.
OR:
create a entire view with a view controller, and add the view to the alert box like:
[myalertview addSubvew:mycomplexalert];
Hope this will come into your help :)
I am using alert boxes for rating input with star images,twitter,fb feedback etc.