I use Skype integration in my iPhone app by using html. When i load a page it will show whether the user will be online or offline. When i press ONLINE button my app will be closed and Skype will be open. But, when i press OFFLINE button it will happen the same thing like that above.. I used the following code for designing skype button in webview to show the skype online status of user and for skype calling.
<a href="skype:arafa_futbal?call">
<img src="http://mystatus.skype.com/smallclassic/arafa_futbal" style="border: none;"
width="114" height="20" alt="My status" />
</a>
My question is how can i disable the webview when the user is offline?
ie,If i press the OFFLINE button, it shouldn't do anything..