Skip navigation

retain or copy for UIWebView??

239 Views 0 Replies Latest reply: Feb 5, 2013 12:12 PM by Febwind RSS
Febwind Calculating status...
Currently Being Moderated
Feb 5, 2013 12:12 PM

It doesn't work if I give a "copy" attribute to a property of a UIWebView object, such as @property (nonatomic, copy) UIWebView *webv.  Then I tried to change copy to retain and my code works fine which can load  URL to the view. Wny UIWebView object need retain instead of copy? The same thing happen to UITextField as well. Please let me know.Thanks.


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.