Guest User

Untitled

a guest
Nov 17th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. // webview .h
  2. id detailItem;
  3.  
  4. // webview .m
  5. - (void)setDetailItem:(id)newDetailItem {
  6. if (detailItem != newDetailItem) {
  7. [detailItem release];
  8. detailItem = [newDetailItem retain];
  9.  
  10. // Update the view.
  11. [self configureView];
  12. }
  13. if (self.popoverController != nil) {
  14. [self.popoverController dismissPopoverAnimated:YES];
  15. }
  16. }
  17.  
  18.  
  19.  
  20.  
  21.  
  22. // rootview
  23. webViewController.detailItem = [content objectAtIndex:indexPath.row];
Add Comment
Please, Sign In to add comment