зеркало из https://github.com/xamarin/ios-samples.git
c48c4d648c
The new .editorconfig is copied from the one in xamarin/xamarin-macios. Formatting was fixed using 'dotnet format whitespace --folder .' |
||
---|---|---|
.. | ||
Resources | ||
Screenshots | ||
Info.plist | ||
Metadata.xml | ||
README.md | ||
Stars.csproj | ||
Stars.sln | ||
StarsAppDelegate.cs | ||
StarsViewController.cs |
README.md
name | description | page_type | languages | products | urlFragment | ||
---|---|---|---|---|---|---|---|
Xamarin.iOS - Stars | Core Motion virtual reality demo, a view controller provides a view of rotation cubes and stars | sample |
|
|
stars |
Stars
This sample provides an introduction to Core Motion by demonstrating how to implement virtual reality. The view controller provides a view of rotating cubes and stars, which uses Core Motion to determine which way the device is facing to display these elements from different angles.
Target device must have device motion / gyroscope available to display properly, and therefore cannot be run on a simulator.
This is a port of the WWDC2012 sample of the same name.