Created
March 21, 2014 05:34
-
-
Save arzola/9680126 to your computer and use it in GitHub Desktop.
Add Top Border to UIView
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
CALayer *TopBorder = [CALayer layer]; | |
TopBorder.frame = CGRectMake(0.0f, 0.0f, self.scrollView.frame.size.width, 1.0f); | |
TopBorder.backgroundColor = UIColorFromRGB(0xff716b).CGColor; | |
[self.scrollView.layer addSublayer:TopBorder]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment