Check out example codes for "rounded ios button". It will help you in understanding the concepts better.

Code Example 1

button.layer.cornerRadius = button.frame.size.height / 2
// must be in the viewDidLoad func

Code Example 2

buttonRound.layer.cornerRadius = buttonRound.frame.size.height / 2

Learn ReactJs, React Native from akashmittal.com