Home
> Uncategorized > Hello World on #tvOS
Hello World on #tvOS
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, connected 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!
Categories: Uncategorized
Comments (0)
Trackbacks (0)
Leave a comment
Trackback