​​ ​

The AppleCare Support Community will permanently close on November 20, 2026. Starting today, the site will no longer accept new posts and is available in a read-only state.


You can continue to find trusted guidance and support on the official Apple Support site. 


We want to thank the community members who have contributed their time and expertise to help others with their Apple products.


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

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.