ios - how to prevent popover from overlapping the navigation toolbar? -


in ipad app, present popover tableview editing style insert control.

how can prevent popover overlapping navigation bar when anchor in high position? sadly, i'm not allowed post image.

the cgrect in code seems move popover anchor , size, not relation between them. (or: anchor on popover frame)

any hint appreciated!

in commiteditingstyle if uitableviewcelleditingstyleinsert:

popovercontroller.popovercontentsize = cgsizemake(320.0, 400.0);  cgrect rect = cgrectmake(cell.bounds.origin.x+200, cell.bounds.origin.y+10, 50, 30);     [popovercontroller presentpopoverfromrect:rect inview:cell permittedarrowdirections:uipopoverarrowdirectionleft animated:yes];  } 


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -