ipad
Video/audio streaming does not stop even if UIWebView is closed – iPad
I have the same issue as stated but in this case the video that won’t stop playing is a Youtube video embeded using the object/embed method. I spent a long time trying to figure out how to get the video to stop playing and the only solution I found was to tell the UIWebView to … Read more
No visible @interface for ‘BlahDataController’ declares the selector ‘aMethod:’
tl;dr – There’s a duplicate file somewhere in the project! Go hunt it down and destroy it mercilessly! Ok, for all those in the future with this issue; this is what the problem was. I had made BlahDataController months ago. About a week ago, I restructured the folders of the project and moved BlahDataController from … Read more
Detect iPad orientation change
Try $(window).bind(‘orientationchange’, function(event) { alert(‘new orientation:’ + event.orientation); });
How to customize / style a UIPopoverController
This is possible starting in iOS 5.0 by subclassing the abstract class UIPopoverBackgroundView and assigning your subclass to the popoverBackgroundViewClass property on your UIPopoverController instance. Unfortunately there is no tintColor property as the popover needs to use images for it’s arrow and border in order to achieve smooth animations during dynamic resizing. You can learn … Read more