Hello on #

IMG_4989

Creating a Hello World app for TVOS is so easy it barely needs a blog post, but the basics are always easy. I just created a TVOS single view app in XCode, the Apple TV via USB-C, and ran. The icon appeared on the Apple TV, and it worked straight away.

If you want the code; for whatever reason – check it out here:

https://github.com/infiniteloopltd/helloworld-tvos

The tiny bit of code I added was;

   @IBAction func btnClicked(_ sender: UIButton) {

        lblHello.text = “Well hello there!”;

    }

    @IBOutlet weak var lblHello: UILabel!



Source link
thanks you RSS link
( https://blog.dotnetframework.org/2018//20/hello-world-on-tvos/)

LEAVE A REPLY

Please enter your comment!
Please enter your name here