Ios ARC strong and distributed

I have a question related to ARC. In my interface, I declared uiwebview as a strong property. Inside my code, I have such a lazy load:

 - (UIWebView *)aWebView{ if(aWebView == nil){ aWebView = [[UIWebView alloc] initWithFrame:self.bounds]; } return aWebView; } 

Is this code under ARC?

-2
source share
1 answer

Yes, everything is in order. ARC will include a release call for you.

+3
source

All Articles