ios7 - UISearchDisplayController Frame Issue -


i have been using uisearchdisplaycontroller in 1 of apps , has been working great far until have encountered issue. whenever try search through data on tableview, result shows correctly frame of uisearchdisplaycontroller not right. search result shows half height of screen. have tried check out , seen couple of solutions this. none of them worked including famous one:

-(void)searchdisplaycontroller:(uisearchdisplaycontroller *)controller didshowsearchresultstableview:(uitableview *)tableview  { cgrect frame = controller.searchresultstableview.frame; if ([[[uidevice currentdevice] systemversion] floatvalue] >= 7.0) {    //changing frame size here   } } 

it not work correctly. ideas?

if interested, @enreas pointed out towards right direction: https://stackoverflow.com/a/19162257/968925


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -