I have integrated google Admob in my app. And when I try to click on that banner of Ad it restarts the device
When it gets restart it shows dialog box which says
SpringBoard has just crashed
It is working fine with simulator.
On Console it shows exception
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'SBAppToAppTransitionView should only be used on devices with fast color multiply'
Device I am testing on is iPhone 3G 4.2.1
There is nothing in your code that would force the device to restart. You can hook your device up to the USB and run Organizer / Console for your device, and see if there is anything abnormal in there. If the device is automatically restarting, I would also doubt there would be any crash output, so the console while right before the device restarts may give you some indication as to why.