ios - Reposition UIPrintInteractionController on rotate -


i using uiprintinteractioncontroller display print options inside of application.

currently presents using presentfromrect:inview:animated:completionhandler: method. works great , positions print options perfectly.

when rotate device, arrow moves incorrect position , print controller view moved (along x axis exact).

this happens both orientations, worse portrait landscape. if helps, popover stays positioned on y axis should.

i have tried couple options including recalling presentfromrect:inview:animated:completionhandler: in didrotatetoorientation , method:

- (void)popovercontroller:(uipopovercontroller *)popovercontroller willrepositionpopovertorect:(inout cgrect *)rect inview:(inout uiview *__autoreleasing *)view 

this has worse effect, print options disappear entirely. also, uiprintinteractioncontroller nsobject , somehow behind scenes apple somehow puts popover controller.

any ideas on do?


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -