ios stuff

This commit is contained in:
vladislav.khorev committed 2013-11-24 09:54:59 +00:00
1 parent fa0ec572c4
commit 20f34d89f0
2 files changed
+10

No files matched your search

+8
View File
@@ -82,6 +82,14 @@ void SetKeyboardText(const char* newText)
//GuiManagerSetKeyboardText(newText);
//NSLog(@"text: %s", newText);
}
bool IsIpad()
{
if ( UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad )
{
return YES; /* Device is iPad */
}
}
} //namespace SE