popover display on tableview cell

i am using a TableView in my application where i want a Pop over View when i clicked on a tabel cell, all the content which is in table Cell should display in a pop over view so plz suggest me how to do??

i have some sample code below which is not working..so suggest with code i want all the content in the cell to displayed in the pop over view.

  - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath


UIView *aView = [[UIView alloc] init];

UIPopoverController *popoverController = [[UIPopoverController alloc] 
popoverController.popoverContentSize = CGSizeMake(320, 416);
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
[popoverController presentPopoverFromRect:cell.bounds inView:cell.contentView 
                 permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];



use this

[popoverController presentPopoverFromRect:[cell frame] inView:cell.contentView 
                 permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];

and then check.

Need Your Help

Having issue with MYSQL query

php mysql mysqli prepared-statement

My function gets $status (0-error, 1-success), $err_id (id of error message in db) and $field (name of input field) variable and fetches error message from db, with given vars.

SQL Profiler displaying stored procedure that doesn't exist

sql-server stored-procedures stack-trace sqlprofiler

I have an automated service that runs 3 stored procedure namely sp_1, sp_2, sp_3. When I was running SQL Trace, it displayed the following results