retain or copy for UIWebView??

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.

Posted on Feb 5, 2013 12:12 PM

Reply

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

retain or copy for UIWebView??

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.