Hi i want to show my alertview message on large font so user can read proper when i run but it show me as small only how to resie font of message according to ipad i try this but it not working for me what to in my code help me on this
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
{
UIAlertView* alert=[[UIAlertView alloc] initWithTitle:@"Flight Search" message:@"Please select both outbound and inbound flights" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
//UIAlertView* alert = [[[UIAlertView alloc] init]initWithFrame:CGRectMake(100,0,340,200)];// message:@"Please select both outbound and inbound flights" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
//[alert setTitle:@"Flight Search"];
//[alert setCenter:CGPointMake(160.0f, 240.0f)];
//alert.frame = CGRectMake( 100, 0, 600, 500 );
//[alert setNeedsLayout];
[alert show];
alert.frame = CGRectMake( 0, 0, 340, 200 );
//alert.frame = CGRectMake( 100, 0, 600, 250 );
[alert release];
}
else {
UIAlertView* alert=[[UIAlertView alloc] initWithTitle:@"Flight Search" message:@"Please select both outbound and inbound flights" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
[alert show];
[alert release];
}