ios platform detection
#1
Does something like System.Platform.IOS exist?
Reply
#2
nope looks like its just
Quote: else if (strTest.Equals("system.platform.linux")) ret = SYSTEM_PLATFORM_LINUX;
else if (strTest.Equals("system.platform.windows")) ret = SYSTEM_PLATFORM_WINDOWS;
else if (strTest.Equals("system.platform.osx")) ret = SYSTEM_PLATFORM_OSX;
why would you need it anyway ?
Reply
#3
Jezz_X Wrote:nope looks like its just

why would you need it anyway ?

There are certain controls I want to be on by default for devices like Ipad that use touch screen. For instance navigation buttons in home screen.
Reply
#4
scarfa Wrote:There are certain controls I want to be on by default for devices like Ipad that use touch screen. For instance navigation buttons in home screen.

That would return true for ATV2 also.

There is a check for mouse enabled, though.
My skins:

Amber
Quartz

Reply
#5
pecinko Wrote:That would return true for ATV2 also.

There is a check for mouse enabled, though.

Yeah I don't mind having ATV2 included as long as Ipad is in there. Checking for mouse enabled doesn't really solve it. Guess I'll just use system.platform.osx
Reply

Logout Mark Read Team Forum Stats Members Help
ios platform detection0