I saw in the inspector that I can change the background color, but I'd like to also change the border color and thickness, is this possible?
Ios – Cocoa Touch: How To Change UIView’s Border Color And Thickness
cocoa-touchinterface-builderiosiphoneobjective c
Related Topic
- Ios – How to make a UITextField move up when the keyboard is present – on starting to edit
- Ios – iPhone UITextField – Change placeholder text color
- Ios – How to check if a string contains another string in Objective-C
- Ios – Passing data between view controllers
- Ios – performSelector may cause a leak because its selector is unknown
- Ios – How to change Status Bar text color in iOS
- Ios – How to change image tintColor in iOS and WatchKit
- R – CMake: how do you copy private frameworks into the application bundle under OS X
Best Answer
You need to use view's layer to set border property. e.g:
You also need to link with QuartzCore.framework to access this functionality.