How to extend iOS app to tvOS

后端 未结 9 1805
别跟我提以往
别跟我提以往 2020-12-12 14:55

I have an iOS app that I need to extend to tvOS. All the information that I found are explaining how to start from scratch! Is there any way to extend my app to tvOS or I sh

9条回答
  •  南方客
    南方客 (楼主)
    2020-12-12 15:24

    Just to list out some limitations and challenges:
    1. There is no persistent local storage for apps on Apple TV. Data must be stored on iCloud.

    2. The maximum size of an Apple TV app is limited to 200MB. On-demand resources (app contents that are hosted on the App Store) should be used. Benefits are smaller app size and lazy loading of app resources.

    3. The UI is drastically different. Human Interface Guidelines must be followed as per the doc.

    4. Creating a Client-Server App using JavaScript and TVML framework.

    5. Controlling the UI touch focus. UIFocusEnvironment controls focus-related behavior for a branch of the view hierarchy. UIViewController conforms to UIFocusEnvironment protocol.

    6. Creating Parallax Artwork You have to create a LSR image with Xcode and then use terminal to create a LCR image. A UIImage object can display a LCR image correctly.

提交回复
热议问题