I am looking to check
It is in the BrowserController of MobileSafari. I have found a related answer on this forum, funny enough, by googling around:
However, when I plug in my own needs into it..
umm look in SBMediaController.h
BOOL playing = [[SBMediaController sharedInstance] isPlaying];
I simple get:
BOOL anythingOpen = [[BrowserController sharedInstance] isAnyPageLoaded];
How do I accomplish this? At this point and time I am simply trying to display and AlertView if isAnyPageLoaded == NO.
Tweak.xm:6: warning: no ‘+sharedInstance’ method found
Tweak.xm:6: warning: (Messages without a matching method signature
Tweak.xm:6: warning: will be assumed to return ‘id’ and accept
Tweak.xm:6: warning: ‘...’ as arguments.)
Tweak.xm:6: warning: no ‘-isAnyPageLoaded’ method found
Any help appreciated.