I have added a segmented control on the swift code the comes with the CY8CKIT-042-BLE. However the segment control when running it on my iphone is at upper left corner. On the mainstoryboard it is in the correct location that I want.
Nevermind. I resolved the issue for this one.