48 lines
3.3 KiB
Markdown
48 lines
3.3 KiB
Markdown
这可能是第一个在 iOS 多点触控模式下可以正常操作的分支。基于 moonlight-ios 9.0.0 版本,2024.2.4 提交的 moonlight-common-c 子模块,以及 Bilibili Up主 阿西西的日常 的早期修改。
|
|
|
|
此外,除了解决多点触控的问题之外,我直接禁用了“从边缘滑动退出会话”功能,防止意外退出会话。这在玩原神时经常发生。
|
|
|
|
安装 release 中的 ipa 文件,需要先对文件进行自签名,或者先越狱、安装巨魔商店。
|
|
|
|
启用多点触控,只需在“设置 ->触摸模式”中选择“触摸屏”即可。
|
|
|
|
查看代码,请转到分支“moonlight-iOS-ZWM”。
|
|
|
|
|
|
|
|
This fork is probably the first one to work properly in native multi-point passthrough mode on iOS. It's based on moonlight-ios version 9.0.0, moonlight-common-c submodule commited on 2024.2.4, and early modification by Bilibili uploader 阿西西的日常.
|
|
|
|
Additionaly, I directly disable the "swipe from edge to exit session" funtion, to prevent accidently quit from session in native-touch passthrough mode, which happens frequently while playing Genshin Imapct.
|
|
|
|
To install the ipa file in release, you need to find a way to sideload the app on iOS.
|
|
|
|
To Enable native-touch passthrough, just select "Touchscreen" in "Settings -> Touch Mode".
|
|
|
|
To check the code go to branch "moonlight-iOS-ZWM".
|
|
|
|
|
|
# Moonlight iOS/tvOS
|
|
|
|
[](https://ci.appveyor.com/project/cgutman/moonlight-ios/branch/master)
|
|
|
|
[Moonlight for iOS/tvOS](https://moonlight-stream.org) is an open source client for [Sunshine](https://github.com/LizardByte/Sunshine) and NVIDIA GameStream. Moonlight for iOS/tvOS allows you to stream your full collection of games and apps from your powerful desktop computer to your iOS device or Apple TV.
|
|
|
|
Moonlight also has a [PC client](https://github.com/moonlight-stream/moonlight-qt) and [Android client](https://github.com/moonlight-stream/moonlight-android).
|
|
|
|
Check out [the Moonlight wiki](https://github.com/moonlight-stream/moonlight-docs/wiki) for more detailed project information, setup guide, or troubleshooting steps.
|
|
|
|
[](https://apps.apple.com/us/app/moonlight-game-streaming/id1000551566)
|
|
|
|
## Building
|
|
* Install Xcode from the [App Store page](https://apps.apple.com/us/app/xcode/id497799835)
|
|
* Run `git clone --recursive https://github.com/moonlight-stream/moonlight-ios.git`
|
|
* If you've already clone the repo without `--recursive`, run `git submodule update --init --recursive`
|
|
* Open Moonlight.xcodeproj in Xcode
|
|
* To run on a real device, you will need to locally modify the signing options:
|
|
* Click on "Moonlight" at the top of the left sidebar
|
|
* Click on the "Signing & Capabilities" tab
|
|
* Under "Targets", select "Moonlight" (for iOS/iPadOS) or "Moonlight TV" (for tvOS)
|
|
* In the "Team" dropdown, select your name. If your name doesn't appear, you may need to sign into Xcode with your Apple account.
|
|
* Change the "Bundle Identifier" to something different. You can add your name or some random letters to make it unique.
|
|
* Now you can select your Apple device in the top bar as a target and click the Play button to run.
|