User-Agent for iPhone Browser
Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7
User-Agent for iPhone App
Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X, en-us) AppleWebKit/532.9 (KHTML, like Gecko) Mobile/7D11.
I have tried to detect through "VERSION" keyword as in case of iPhone but it is not working in android Device.