HI,All
I had a PopOver View ,Which consists of UItableView , and my Problem is ,i have increase the popover if cell in table view are increasing one by one,till the end of iPad VIew…….
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should
post a NSNotification when adding a row, it should send as object the number of displayed rows
[[NSNotificationCenter defaultCenter] postNotificationName:@”resizePopover” object:number_rows_to_show]
in the root controller (owner of the popoverController) modify the view shown in popover:
view..contentSizeForViewInPopover = CGSizeMake(your_width, your_row_height * [[notification object] intValue]);