what's the difference between
[self.view addSubview:view1];
and
[super.view addSubview:view1];
Thank You!!
Franhu
what's the difference between
[self.view addSubview:view1];
and
[super.view addSubview:view1];
Thank You!!
Franhu
Copyright © 2021 Jogjafile Inc.
Unless you've overridden the
-viewmethod, there is no practical difference. From a semantic difference, though, sayingsuper.viewis an express attempt to avoid invoking a method named-viewdefined in the current class. Unless you want to express that meaning, you should stay away from thesuper.whateverconstruct.