问题
I am new to Xamarin and I have successfully created an application in Xamarin for iOS. What I need is a way for this application to be viewed in the browser as a PWA. I figured to learn xamarin because I thought that this was a useful resource.
I have looked in to ooui but I can't successfully attach my Xamarin project to ooui.
At the end of this project I will have a running PWA coded in c# for iOS in the browser.
A link to the Xamarin can be found here: https://github.com/SunRhythms/iosslidingpuzzle/tree/master/iOSSlidingPuzzle-3
回答1:
Welcome to Xamarin! Your github repo is set to Private in it's setting.
Gathering from your other question as well, it's clear that you are using Native Xamarin.iOS and not Xamarin.Forms. (They have several differences if you check this)
Presently, there is no way of porting your Xamarin.iOS project into a PWA that has been made public. If you do convert your project manually into a Xamarin.Forms project, you could potentially use Ooui to convert Xamarin Forms into high performance WebAssembly code.
It seems like you have a sliding puzzle game, so it would be cool if you do end up doing it! Share it with us and the rest of the Xamarin community
来源:https://stackoverflow.com/questions/57349529/how-to-deploy-your-xamarin-ios-to-the-web-as-a-progressive-web-application-pwa