Method: browser::ios
Checks if the user agent string is from an iOS device
Info
Syntax
browser::ios($ua=null)
Parameters
- $ua (string) The user agent string
Return (boolean)
True: iOS device, false: not an iOS device
Example
if(browser::mobile()) echo 'You are browsing with a fancy iOS device';