/ Published in: Objective C
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if([deviceType isEqualToString:@"iPhone"]) // it's an iPhone
URL: http://iphonesdksnippets.com/post/2009/12/09/Determine-the-device-running-an-application.aspx