safari-on-apple-tv.jpgTaylor Martin/CNETThe fourth-generation Apple TV การแปล - safari-on-apple-tv.jpgTaylor Martin/CNETThe fourth-generation Apple TV ไทย วิธีการพูด

safari-on-apple-tv.jpgTaylor Martin

safari-on-apple-tv.jpg
Taylor Martin/CNET
The fourth-generation Apple TV comes with several new tricks that the older models are not privy to, such as Siri support and third-party apps and games. One feature missing, however, is the ability to browse the Web.

Despite tvOS being based heavily on iOS, the Safari browser has been stripped from the Apple TV, meaning the only browsing you will be doing is via mirroring with AirPlay from your other Apple devices.

With a simple hack, however, you will be browsing the Web with your Apple TV in a matter of minutes. Here's how it's done.

What you will need

You will need a couple of things before you get started, such as a free Apple Developer account, Xcode and a USB-C cable or an adapter.


If you don't already have a developer account with Apple, head over to developer.apple.com/account and sign in using your existing Apple ID.

Next, from your Mac, open the App Store, search for "Xcode" and download the application. It will automatically install.

If you happen to have a 12-inch MacBook, the included USB-C cable will work for this application. Otherwise, you will need a USB-A to USB-C cable, which you can find online for around $10. Just be careful of which one you buy (and reference this spreadsheet to see which ones are up to spec.)

Finally, you will need the source code to tvOSBrowser, which we will download from the GitHub repository using Xcode.

Installing the browser


Begin by opening the Applications folder in Finder and locating the Xcode.app. Right click on the application and select Show Package Contents. From there, navigate to Contents>Developer>Platforms>AppleTVOS.platform>Developer>SDKs>AppleTVOS.sdk>usr>include and locate the file Availability.h. Right click on the file and open in TextEdit or another text editor.

Locate these two lines of code, which can be found on lines 279 and 280:

#define __TVOS_UNAVAILABLE __OS_AVAILABILITY(tvos,unavailable)
#define __TVOS_PROHIBITED __OS_AVAILABILITY(tvos,unavailable)
Change them to:

#define __TVOS_UNAVAILABLE_NOTQUITE __OS_AVAILABILITY(tvos,unavailable)
#define __TVOS_PROHIBITED_NOTQUITE __OS_AVAILABILITY(tvos,unavailable)
Save the file and open Xcode. Ignore the window that loads and click on Source Control in the menu bar, then select Check Out. In the repository location field, paste "https://github.com/steventroughtonsmith/tvOSBrowser.git" and click Next. When asked, select the master branch of the repository and proceed.

safari-for-apple-tv-bundle-identifier.png
Taylor Martin/CNET
In the left pane of Xcode, click on the Browser app you just imported. You will need to alter the Bundle Identifier. By default, it is com.highcaffeinecontent.Browser. Change it to something unique like: com.[nickname].Browser. Just ensure there are no spaces in the identifier.

Below the Bundle Identifier field, click on the dropdown menu beside Team. Select your Apple ID. If you're not logged in, click Add an Account and login with your Apple ID credentials.

Connect your Apple TV to your Mac using the USB-C cable.

safari-for-apple-tv-output-source.png
Taylor Martin/CNET
At the top of the Xcode window, you will see Play and Stop buttons. Beside that are two menu buttons, one is the name of the app (in this case, Browser) and the other is the output source for where you will be executing the code. By default, if no Apple TV is detected, Xcode will run an Apple TV simulator upon executing the code. To ensure, you're pushing the code to the Apple TV, click on the button to the right and make sure Apple TV under Devices is selected, not Apple TV 1080p under tvOS Simulator.


Once the code finishes executing, you should see an app on your Apple TV called Safari. Click on it to open.

Using the browser on Apple TV

The Safari browser on Apple TV is relatively intuitive and simple to use.

Depending on which mode you're in sliding your finger around on the Apple TV remote's trackpad will move the cursor or scroll up and down the page. To switch between the modes, double-click the trackpad.

Clicking the trackpad does exactly what you would expect it to -- it clicks and will open links or select on-screen content. The Menu button operates as a back button. Double-clicking the Menu button will load a Settings menu, where you can change the homepage, view history and more. And pressing the Play/Pause button brings up an address and search bar, which uses Google as the default search engine.

The developer hasn't updated the source code in several months, and as such this is a very basic browser. It's missing some features you may find necessary from a computer or mobile device, but should suffice for basic needs of browsing via Apple TV.
0/5000
จาก: -
เป็น: -
ผลลัพธ์ (ไทย) 1: [สำเนา]
คัดลอก!
ซาฟารีบน tv.jpg แอปเปิ้ลมาร์ติน เทย์เลอร์/CNETApple TV รุ่นที่ 4 มาพร้อมกับเทคนิคใหม่หลายที่รุ่นเก่าไม่มีองคมนตรี เช่นสิริสนับสนุน และบริษัทแอ พและเกม คุณลักษณะอย่างหนึ่งที่ขาดหายไป อย่างไรก็ตาม มีความสามารถในการเรียกดูเว็บแม้ tvOS ถูกอิงมาก iOS เบราว์เซอร์ Safari มีถูกตัดจาก Apple TV หมายถึง คุณจะทำการเรียกดูเพียงผ่านเรอร์มี AirPlay จากอุปกรณ์ Apple อื่น ๆมีสับง่าย อย่างไรก็ตาม คุณจะสามารถเรียกดูเว็บกับ Apple TV ของคุณในไม่กี่นาที นี่คือวิธีที่จะทำสิ่งที่คุณจะต้องคุณจะต้องสองสิ่งก่อนที่จะเริ่ม เช่นบัญชีนักพัฒนา Apple ฟรี Xcode และสาย USB-C หรืออะแดปเตอร์ถ้าคุณไม่มีบัญชีนักพัฒนากับ Apple การ developer.apple.com/account และลงชื่อเข้าใช้ด้วย Apple id ของคุณที่มีอยู่แล้วถัดไป จาก Mac เปิด App Store ค้นหาสำหรับ "Xcode" และดาวน์โหลดแอพลิเคชัน มันจะติดตั้งโดยอัตโนมัติหากคุณมี MacBook 12 นิ้ว สาย USB C จะทำงานสำหรับโปรแกรมประยุกต์นี้ มิฉะนั้น คุณจะต้อง A USB กับสายเคเบิล USB C ซึ่งคุณสามารถค้นหาออนไลน์สำหรับ 10 ระวังของที่คุณซื้อ (และอ้างอิงกระดาษคำนวณนี้จะเห็นคนที่มีสเปคสูงสุด)ในที่สุด คุณจะต้องรหัสแหล่งที่มาเพื่อ tvOSBrowser ซึ่งเราจะดาวน์โหลดจาก GitHub เก็บใช้ XcodeInstalling the browserBegin by opening the Applications folder in Finder and locating the Xcode.app. Right click on the application and select Show Package Contents. From there, navigate to Contents>Developer>Platforms>AppleTVOS.platform>Developer>SDKs>AppleTVOS.sdk>usr>include and locate the file Availability.h. Right click on the file and open in TextEdit or another text editor.Locate these two lines of code, which can be found on lines 279 and 280:#define __TVOS_UNAVAILABLE __OS_AVAILABILITY(tvos,unavailable)#define __TVOS_PROHIBITED __OS_AVAILABILITY(tvos,unavailable)Change them to:#define __TVOS_UNAVAILABLE_NOTQUITE __OS_AVAILABILITY(tvos,unavailable)#define __TVOS_PROHIBITED_NOTQUITE __OS_AVAILABILITY(tvos,unavailable)Save the file and open Xcode. Ignore the window that loads and click on Source Control in the menu bar, then select Check Out. In the repository location field, paste "https://github.com/steventroughtonsmith/tvOSBrowser.git" and click Next. When asked, select the master branch of the repository and proceed.safari-for-apple-tv-bundle-identifier.pngTaylor Martin/CNETIn the left pane of Xcode, click on the Browser app you just imported. You will need to alter the Bundle Identifier. By default, it is com.highcaffeinecontent.Browser. Change it to something unique like: com.[nickname].Browser. Just ensure there are no spaces in the identifier.Below the Bundle Identifier field, click on the dropdown menu beside Team. Select your Apple ID. If you're not logged in, click Add an Account and login with your Apple ID credentials.Connect your Apple TV to your Mac using the USB-C cable.safari-for-apple-tv-output-source.pngTaylor Martin/CNETAt the top of the Xcode window, you will see Play and Stop buttons. Beside that are two menu buttons, one is the name of the app (in this case, Browser) and the other is the output source for where you will be executing the code. By default, if no Apple TV is detected, Xcode will run an Apple TV simulator upon executing the code. To ensure, you're pushing the code to the Apple TV, click on the button to the right and make sure Apple TV under Devices is selected, not Apple TV 1080p under tvOS Simulator.Once the code finishes executing, you should see an app on your Apple TV called Safari. Click on it to open.Using the browser on Apple TVThe Safari browser on Apple TV is relatively intuitive and simple to use.Depending on which mode you're in sliding your finger around on the Apple TV remote's trackpad will move the cursor or scroll up and down the page. To switch between the modes, double-click the trackpad.คลิกแทร็คไม่ว่าอะไรคุณจะคาด- ล็อก และจะเปิดการเชื่อมโยงหรือเลือกบนหน้าจอเนื้อหา ปุ่มเมนูทำงานเป็นปุ่มกลับ ดับเบิลคลิกที่ปุ่มเมนูจะโหลดเมนูการตั้งค่า ซึ่งคุณสามารถเปลี่ยนหน้าแรก ดูประวัติ และอื่น ๆ และกดปุ่มเล่น/หยุดนำการค้นหาที่อยู่และแถบ ซึ่งใช้ Google เป็นโปรแกรมค้นหาเริ่มต้นนักพัฒนายังไม่ได้ปรับปรุงรหัสแหล่งที่มาในหลายเดือน และเป็นเช่นนี้เบราว์เซอร์พื้นฐานมาก มันขาดคุณลักษณะบางอย่างคุณอาจพบการจำจากคอมพิวเตอร์หรืออุปกรณ์มือถือ แต่ควรพอเพียงสำหรับความต้องการพื้นฐานของการเรียกดูผ่านทาง Apple TV
การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 3:[สำเนา]
คัดลอก!
safari-on-apple-tv.jpgไทเลอร์ มาร์ติน / CNET4 รุ่น Apple TV มาพร้อมกับเคล็ดลับใหม่หลายรุ่นที่เก่าไม่ได้มีส่วนรู้เห็น เช่น โครงการสนับสนุนและปพลิเคชันของบุคคลที่สามและเกม อีกหนึ่งคุณสมบัติที่ขาดหายไป อย่างไรก็ตาม ความสามารถในการเรียกดูเว็บแม้จะ tvos เป็นหนักขึ้นอยู่กับเบราว์เซอร์ Safari บน iOS ถูกปลดจาก Apple TV , ความหมายเพียงเรียกดู คุณจะทำอะไรเป็นทางสะท้อนกับ AirPlay จากอุปกรณ์แอปเปิ้ลอื่น ๆของคุณกับสับ ง่าย แต่ คุณจะเรียกดูเว็บกับโทรทัศน์แอปเปิ้ลของคุณในไม่กี่นาที นี่คือวิธีการทำมันสิ่งที่คุณจะต้องคุณจะต้องมีคู่ของสิ่งก่อนที่คุณเริ่มต้น เช่น บัญชีนักพัฒนาแอปเปิ้ลฟรี , Xcode และ usb-c สายเคเบิลหรืออะแดปเตอร์หากคุณไม่ได้มีบัญชีนักพัฒนาแอปเปิ้ลไป developer.apple.com/account และเข้าสู่ระบบในการใช้ที่มีอยู่ของคุณ Apple IDถัดไปจาก Mac ของคุณ , เปิด App Store , ค้นหา " Xcode " และดาวน์โหลดโปรแกรม โดยอัตโนมัติจะติดตั้งหากคุณเกิดขึ้นจะมี MacBook 12 นิ้ว รวมสาย usb-c จะทำงานสำหรับโปรแกรมนี้ มิฉะนั้นคุณจะต้อง usb-a เพื่อ usb-c สายเคเบิลซึ่งคุณสามารถค้นหาออนไลน์สำหรับประมาณ $ 10 แค่ระวังที่คุณซื้อหนึ่ง ( และการอ้างอิงสเปรดชีตนี้เพื่อดูว่าคนที่จะอัพ spec )ในที่สุด , คุณจะต้องมีรหัสแหล่งที่มาเพื่อ tvosbrowser ซึ่งเราจะดาวน์โหลดจากกรุบริการโดยใช้ Xcode .การติดตั้งเบราว์เซอร์เริ่มต้นด้วยการเปิดโปรแกรมและโฟลเดอร์ใน Finder ค้นหา xcode.app . คลิกขวาที่โปรแกรมแล้วเลือกแพคเกจเนื้อหารายการ จากตรงนั้นไปพัฒนาแพลตฟอร์มเนื้อหา > > > > > appletvos แพลตฟอร์มพัฒนา SDK > appletvos SDK > > รวม usr และค้นหาพร้อมไฟล์ คลิกขวาบนไฟล์และเปิดในโปรแกรมแก้ไขข้อความหรือเท็กอิดิตอีก .ค้นหาสองบรรทัดของรหัส ซึ่งสามารถพบได้ในบรรทัด 279 และ 280 :# กำหนด __tvos_unavailable __os_availability ( tvos ไม่ )# กำหนด __tvos_prohibited __os_availability ( tvos ไม่ )เปลี่ยนพวกเขาจะ :# กำหนด __tvos_unavailable_notquite __os_availability ( tvos ไม่ )# กำหนด __tvos_prohibited_notquite __os_availability ( tvos ไม่ )บันทึกไฟล์และเปิด Xcode . ละเว้นหน้าต่างที่โหลดและคลิกที่ตัวควบคุมแหล่งข้อมูลในเมนูบาร์ แล้วเลือกเช็ค ในเก็บข้อมูลสถานที่ สนาม วาง " https://github.com/steventroughtonsmith/tvosbrowser.git " และคลิกถัดไป เมื่อถามว่า เลือกหัวหน้าสาขาของพื้นที่เก็บข้อมูลและดำเนินการsafari-for-apple-tv-bundle-identifier.pngไทเลอร์ มาร์ติน / CNETในบานหน้าต่างด้านซ้ายของ XCode คลิกที่เบราว์เซอร์ app ที่คุณเพิ่งนำเข้า คุณจะต้องเปลี่ยนปก ระบุ . โดยค่าเริ่มต้นมัน com.highcaffeinecontent.browser . เปลี่ยนเป็นบางสิ่งบางอย่างที่ไม่ซ้ำกันเช่น : com . [ ชื่อเล่น ] . เบราว์เซอร์ แค่ให้แน่ใจว่า จะไม่มีช่องว่างที่ระบุ .ด้านล่างปกระบุฟิลด์ คลิกเมนูแบบเลื่อนลงข้างทีม เลือกของคุณ Apple ID ถ้าคุณไม่ได้เข้าสู่ระบบ คลิกเพิ่มบัญชีผู้ใช้และเข้าสู่ระบบด้วยบัตรรหัสแอปเปิ้ลของคุณเชื่อมต่อกับ Apple TV ของคุณกับ Mac ของคุณใช้ usb-c สายเคเบิลsafari-for-apple-tv-output-source.pngไทเลอร์ มาร์ติน / CNETที่ด้านบนของหน้าต่าง Xcode , คุณจะเห็นการเล่นและหยุดปุ่ม ข้างที่มีสองปุ่มเมนูหนึ่งเป็นชื่อของ app ( ในกรณีนี้ , เบราว์เซอร์ ) และอื่น ๆ คือ ผลผลิตแหล่งที่คุณจะสามารถรันโค้ด โดยค่าเริ่มต้นถ้าไม่มี Apple TV มีการตรวจพบ Xcode จะใช้ Apple TV Simulator บนการรันโค้ด เพื่อให้แน่ใจว่า คุณกดรหัสเพื่อ Apple TV , คลิกปุ่มที่เหมาะสมและให้แน่ใจว่าอุปกรณ์แอปเปิ้ลทีวีภายใต้เลือก ไม่ใช่แอปเปิ้ลทีวี 1080p ภายใต้ tvos Simulatorเมื่อเสร็จสิ้นการรหัส คุณควรเห็น app ของคุณแอปเปิ้ลทีวีเรียก Safari คลิกเพื่อเปิดใช้เบราว์เซอร์ในแอปเปิ้ลทีวีเบราว์เซอร์ Safari บน Apple TV จะค่อนข้างใช้งานง่ายและใช้งานง่ายซึ่งขึ้นอยู่กับโหมดที่คุณกำลังในการเลื่อนนิ้วไปมาบน Trackpad แอปเปิ้ลทีวีระยะไกลจะเลื่อนเคอร์เซอร์หรือเลื่อนขึ้นและลงหน้า เพื่อสลับระหว่างโหมดดับเบิลคลิก trackpadคลิก trackpad ไม่ได้สิ่งที่คุณคาดหวังให้มัน . . . มันคลิก และจะเปิดการเชื่อมโยงหรือเลือกเนื้อหาบนหน้าจอ ปุ่มนี้เป็นปุ่มเมนูด้านหลัง ดับเบิลคลิกปุ่มเมนูจะโหลดเมนูการตั้งค่าที่คุณสามารถเปลี่ยนโฮมเพจ , ดูประวัติและอื่น ๆ และกดที่ปุ่ม Play / Pause ทำให้ที่อยู่และแถบค้นหาที่ใช้ Google เป็นเครื่องมือค้นหาปริยาย .นักพัฒนาไม่ได้อัพเดตรหัสที่มาหลายเดือน และเป็นเช่นนี้เป็นเบราว์เซอร์พื้นฐานมาก มันขาดคุณสมบัติบางอย่างที่คุณอาจพบที่จำเป็นจากคอมพิวเตอร์หรืออุปกรณ์มือถือ แต่ควรจะเพียงพอสำหรับความต้องการพื้นฐานของการเรียกดูผ่านทาง Apple TV
การแปล กรุณารอสักครู่..
 
ภาษาอื่น ๆ
การสนับสนุนเครื่องมือแปลภาษา: กรีก, กันนาดา, กาลิเชียน, คลิงออน, คอร์สิกา, คาซัค, คาตาลัน, คินยารวันดา, คีร์กิซ, คุชราต, จอร์เจีย, จีน, จีนดั้งเดิม, ชวา, ชิเชวา, ซามัว, ซีบัวโน, ซุนดา, ซูลู, ญี่ปุ่น, ดัตช์, ตรวจหาภาษา, ตุรกี, ทมิฬ, ทาจิก, ทาทาร์, นอร์เวย์, บอสเนีย, บัลแกเรีย, บาสก์, ปัญจาป, ฝรั่งเศส, พาชตู, ฟริเชียน, ฟินแลนด์, ฟิลิปปินส์, ภาษาอินโดนีเซี, มองโกเลีย, มัลทีส, มาซีโดเนีย, มาราฐี, มาลากาซี, มาลายาลัม, มาเลย์, ม้ง, ยิดดิช, ยูเครน, รัสเซีย, ละติน, ลักเซมเบิร์ก, ลัตเวีย, ลาว, ลิทัวเนีย, สวาฮิลี, สวีเดน, สิงหล, สินธี, สเปน, สโลวัก, สโลวีเนีย, อังกฤษ, อัมฮาริก, อาร์เซอร์ไบจัน, อาร์เมเนีย, อาหรับ, อิกโบ, อิตาลี, อุยกูร์, อุสเบกิสถาน, อูรดู, ฮังการี, ฮัวซา, ฮาวาย, ฮินดี, ฮีบรู, เกลิกสกอต, เกาหลี, เขมร, เคิร์ด, เช็ก, เซอร์เบียน, เซโซโท, เดนมาร์ก, เตลูกู, เติร์กเมน, เนปาล, เบงกอล, เบลารุส, เปอร์เซีย, เมารี, เมียนมา (พม่า), เยอรมัน, เวลส์, เวียดนาม, เอสเปอแรนโต, เอสโทเนีย, เฮติครีโอล, แอฟริกา, แอลเบเนีย, โคซา, โครเอเชีย, โชนา, โซมาลี, โปรตุเกส, โปแลนด์, โยรูบา, โรมาเนีย, โอเดีย (โอริยา), ไทย, ไอซ์แลนด์, ไอร์แลนด์, การแปลภาษา.

Copyright ©2025 I Love Translation. All reserved.

E-mail: