shows the pop-up in iPad

Replace the code for 'CGRect rect' with 'CGRect rect = CGRectMake(0, 0, 1500.0f, 50.0f);' and it will show you the pop-up in iPad