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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -