Vote count:
0
I wrote this code
-(void)viewWillAppear:(BOOL)animated
{
self.view.superview.frame = CGRectMake(0, 0, 290, 620);
}
and when a cell is clicked i wrote self.view.superview.bounds = CGRectMake(0, 0, 600, 620);
in did select row at index path.... both these times the form sheet is not displayed in the center. Where am i going wrong. Is there any other method to implement this behaviour
asked 2 mins ago
Aucun commentaire:
Enregistrer un commentaire