ipad

iPad embedded YouTube video player stays in fullscreen after stopping it programatically

Hi. I have a UIWebView that loads a YouTube video. The problem is, that if the video is playing in full screen and I reload the web view to "about:blank" to stop the video, the video player remains as the top view in the window's view hierarchy and blocks everything. Only the black video player remains visible. Has someone encountered...

Displaying content at correct scale in UIWebView on iPad

I have a UIWebView set to scale to fit in an iPad app that gets its content from and NSString. If I turn off scale to fit the text is bigger, although would like it to be much bigger, but I lose the zooming feature. If I set scale to fit on the text is very small as it is obviously scaling the lot to fit the page...and I get zooming ba...

iPhone / iPad / iPod swipe events javascript

Im looking for (if possible) javascript libraries/plugins to provide swipe events. However I am not after the simple detection of a swipe, for example what jqTouch provides. I wish to create behavior similar to that of the images viewer on the iPod devices. So for example you drag left or right to go to the next image. You have to drag ...

Mobile Sarai - "touchend" event not firing when last touch is removed?

The "gesture" I'm trying to capture is a tap when but only when an element (other or same) already has a touch on it. So, touch (1) presses the button down while touch (2) taps to selected options, touch (1) releases and button is depressed. The problem I'm having is with the last bit. The "touchend" event is not being fired when I rel...

mpmovieplayercontroller fullscreen problem?

I develop an application that plays video iPad. the problem is that I am in full-screen video and I rotated the splitviewcontroller shift here is a screenshot: http://a.imageshack.us/img9/7660/capturedcran20100907150.png ...

mpmovieplayercontroller fullscreen problem?

The problem is when I am in full screen MPMovieplayercontroller and I rotated in landscape mode I see that the splitviewcontroller and navigationbar is shifted preview image: http://a.imageshack.us/img9/7660/capturedcran20100907150.png ...

Lock orientation of webapp for iPhone iPad iPod

Im struggling to lock orientation of a webapp. For example want the site to be permanently in orientation view. And advice appreciated. ...

In Cocos2d/OpenGL-ES check pixel of previous draw ?

I'm drawing some lines in cocos2d (using handy ccDrawLine), nothing fancy, but i want to check if my animated line hits something. I could do some math calculations for some objects, but for some dynamic parts in the scene it would be much easier if i could do: if pixel not black at (x,y) // line will hit something do handleCollisi...

What's new for developers in Mobile Safari iOS 4.2

Does anyone know what the changes are to Safari in the iPad OS update coming in November, from a web application development standpoint? Is there any expanded support for hardware acceleration, any changes to JavaScript, etc, etc? ...

NSMutableURLRequest proper posting

Hello Stackoverflow, So I am trying to log into my site using an NSMutableURLRequest which presents the credentials via a post. As a noobie, I have some questions about the functionality of this method to make sure I am understanding it. NSString *post = [NSString stringWithFormat:@"username=%@&password=%@&TARGET=%@",LoginId,LoginPw...

How to implement a Badge for a UIBarButtonItem ?

I want to pu a badge on the UIBarButtonItem that controls popover in a SplitView This code did do nothing: - (void)splitViewController: (UISplitViewController*)svc willHideViewController:(UIViewController *)aViewController withBarButtonItem:(UIBarButtonItem*)barButtonItem forPopoverController: (UIPopoverControll...

UIButton scale on touch?

hil, can someone tell me how i can scale an UIButton on touch? the button should scale up like 10%. thanks in advance! ...

NSMutableURLRequest and redirection

Hello stackoverflow, So I am trying to create a request that will automatically follow the redirects in its process. For some reason this is not working, this is what my delegate method looks like. Do I need to do anything else for this to function properly? Thanks! -(NSURLRequest *)connection:(NSURLConnection *)connection w...

Adjust UIPopoverController position after resize

I have a UIPopoverController containing a UITableView. The popover is resized in its view controller's -viewDidAppear function to fit the contents of the table. While the popover resizes properly, its arrow is usually no longer pointing at the original CGRect. Is there a way to force the popover to reposition itself after a resize so ...

Use ipad sdk background on a web page

How can I use the textured backgrounds that came with the ipad sdk in a web app? ...

Does NSHTTPCookieStorage persist across apps?

Hello all, So I was just curious if the NSHTTPCookieStorage was persistent across applications, or local only to the current one. I want some cookies gathered in another app to be accessible in a search app. Is that how it works? Thanks! PS: This is on the iPhone or iPad. ...

Touch issue after UIView Translation

hi, i have uiview "DummyView" and added two other views "StartView" and "ShowView" side-by-side into the DummyView. When the app starts the StartView shows up. On this view is a UIButton, which triggers a translation animation to move the StartView to the left (out of the screen) and the ShowView into the Screen. On the ShowView, I hav...

How can I hide/disable the fullscreen button in the iPad’s standard HTML5 video controls?

I’m writing an HTML5 page with a embedded video tag for the iPad. How can I hide or disable the fullscreen button? I just need to show the video without the fullscreen option. ...

Access Subview in another ViewController?

hi, how can i access a subview i added in another view controller? Like DummyViewController: - Subview 1 - Subview 2 TestViewController: - Subview 3 Now I want to access the properties of Subview 1 (DummyViewController) in Subview 3 (TestViewController). Thank + Regards ...

Detect When Return to a View

HI How can I detect when I return to a view? I have an iPad app in development and I want to do something upon returning to a certain view. How can I do this? Thanks. ...