Created
May 31, 2019 17:33
-
-
Save Sa1Gur/5ac7b16087b8138be1ab55817ddb39d2 to your computer and use it in GitHub Desktop.
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
private CALayer BottomLine; | |
... | |
private void TintCustomization(UITextField Control, MyEntry customEntry) | |
{ | |
... | |
BottomLine = new CALayer | |
{ | |
BorderColor = customEntry.MyTintColor.ToCGColor(), | |
BackgroundColor = customEntry.MyTintColor.ToCGColor(), | |
Frame = new CGRect(0, Frame.Height / 2, Frame.Width / 4, 1f) | |
}; | |
Control.Layer.AddSublayer(_line); | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment