Last active
October 26, 2015 19:28
-
-
Save chrislonge/c304363cb993253ddbd8 to your computer and use it in GitHub Desktop.
Loop through all subviews in a view and add border
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (UIWebView *webView in self.overdraftSection.subviews) { | |
webView.layer.borderColor = [[UIColor blackColor] CGColor]; | |
webView.layer.borderWidth = 2.0f; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment