Look here >http://osxdaily.com/2010/08/10/how-to-check-iphone-firmware-and-baseband-version/
This is a Simple Dialog Demo.