And code to color the background. class ViewController: UIViewController { @IBOutlet var main_UIView: UIView! override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view. main_UIView.backgroundColor = UIColor(red: 0x5C/255.0, green: 0x78/255.0, blue: 0x94/255.0, alpha: 1.0) } }
adjust to taste. Suggestions: Text Field: Fixed top margin Variable Width - fixed right and left margins Centered Button: Constraints similar to the Label White Text Color
download the updated project: https://github.com/BIG-RAT/JNUC2019/blob/master/helloJNUC.zip Grab code to further update the project: https://github.com/BIG-RAT/JNUC2019/blob/master/ViewController.swift.zip
xml needed to update the device record. Defined endpoint and credentials for the update. Added code for API operation. Note changes to viewDidLoad function: Check for and parse app configuration data if present. Provide test data when app configuration is not present.