ipad

Why is my iPad app's UINavigationBar not being shown when run?

I keep on adding a UINavigationBar to one of my iPad app's nibs and it doesn't appear neither in portrait nor landscape mode. Thanks! ...

How to start a project with both outputs iPhone & iPad ?

Using the Pre Release Xcode 3.2.3 I get this as a Startup Project What should I chose / do to great a project that can have both iPad and iPhone as a target (not showing the iPhone App on iPad but a real iPad View)? Thank you. To avoid problems: iPhone OS 3.1.3 is the latest release on iPhone iPhone OS 3.2 is the latest release...

How do I animate the simultaneous rotation and scaling of a view?

I have this view and I do some rotation transformation to it using something like myView.transform = CGAffineTransformMakeRotation(degreesToRadian(90)); //The view was originally at 0 degrees. at some other point of my code, I would like to scale the view animating it, so I do [UIView beginAnimations:nil context:NULL]; [UIView setAni...

Automatically Sizing UIView after Adding to Window

Note: This may be a duplicate of Subview Doesnt AutoSize When Added to Root View Controller I have an iPad app that switches between different views in its main window. The view-switching code looks like this: - (void)switchToViewController:(UIViewController*)viewController { if (currentViewController != viewController) { ...

Problem serving video to iPad from Mongrel 1.1.5 , RoR 2.0.2 on Mac OS 10.6.3 Server

I am working off the Final Cut Server Integration sample provided by Apple that is a Rails app using 2.0.2 and runs on Mongrel 1.1.5. I can have a basic non-Ruby directory on my boot volume (Mac OS 10.6.3 Server) and can serve up video files just fine to iPad. However, when I drag the same video file into the 'public' area of the app run...

How do you add a "Back button" on the iPad's SplitViewController popover Navigation bar?

How do you add the Navigation items on the popover (left pane) of the iPad's splitview? This is where the mailboxes/inbox/drafts part of the navigation is in the iPad's builtin email application. ...

Dismissing iPad UIPopoverController from within its content controller

So I have a popover with a button in it. When that button is pushed, I want the popover to go away. It seems easy enough, but I can't figure it out for the life of me. The code I use to show the popover is below: AddCategoryViewController* content = [[AddCategoryViewController alloc] init]; UIPopoverController* aPopover = [[UIPopov...

How to insert HTML into a UIWebView

I have HTML Content which was being displayed in a UITextView. The next iteration of my app is display the HTML contents into a UIWebView. So I basically replaced my UITextView with UIWebView. However I could not figure out how to inset my HTML snippit into the view. It seems to need a URLRequest which I do not want. I have already ...

Can you manually add to an iPhone/iPad Navigation Bar a back button item?

I have a reference to a "UIBarButtonItem", is there a way I can add a custom "Back Navigation Button" to that item when it is not part of a Navigation based view? I can add a left button: UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithTitle:@"Custom Back" style:UIBarButtonItemStylePlain target:self action:@selector(b...

Using UIScreen to drive a VGA display - doesn't seem to show the UIWindow?

HI there, I'm trying to use UIScreen to drive a separate screen with the VGA dongle on my iPad. Here's what I've got in my root view controller's viewDidLoad: //Code to detect if an external display is connected to the iPad. NSLog(@"Number of screens: %d", [[UIScreen screens]count]); //Now, if there's an external screen, we need to...

http stream of baselineh264 doesnt seem to work in my MPMoviePlayerViewController

Here is some code... I have a stream that works correctly if I view with safari on the iphone or quicktimex on the mac... but the stream doesnt view in my code for the ipad simulator - (IBAction)clickedOpenMovie:(id)sender { NSString *myString = [NSString stringWithFormat:@"http://myipofstreamingserver:1935/live/aStream/playlist.m3u8"...

iPad UIWebView PDF rendering is giving me weird visual artifacts

I am having some difficulty using a UIWebView to render PDF files on the iPad. Everything works fine in portrait mode, but turning the device to landscape produces strange visual quirkiness. Zooming in (but not out) even the slightest will correct it, but obviously that's not an ideal workaround. The issue occurs with any PDF file (I ha...

i have two mpmovieplayercontrollers and two separate subviews that they utilze... except that only one video will play at a time

I would like to have both movies playing at once in their two separate sub views. They are both accessing different media. this is on an ipad with a superview and two little views 320x240 right by eachother on the xib. -(IBAction)playLeft:(id)sender{ if ([self.playerRight playbackState] == MPMoviePlaybackStatePlaying); [self.playerRig...

iPhone Core Data how to update the NSManagedObjects .h & .m after making changes to the data model

I have made a data model, and now I've made a 2nd version. All of the generated NSManagedObjects mapped to that data model are all version 1. Is there some way to update them to v2 without deleting them and then saying having them generated again? ...

iPad VGA Connector - Mirror screen in own Application?

Is it possible to mirror the Screen over the VGA Connector? Can't find anything about this. ...

Can dummy objects be simulated on iphone?

I come from 3D animation and one of the basic things all 3D software have is the ability to create dummy objects. Dummy objects can be used to groups objects that can be rotated, moved or scaled together around a specific anchor point. This is the idea of what I am asking. Obviously we can have fake dummies by using a view and put other...

Why Does the iPad Main View Refuse to go FullScreen?

I am doing an imaging app for iPad and it requires use of the entire screen. The approach I have used on iPhone does not appear to work on iPad. In Interface Builder I have set the UIToolbar to translucent.This code echos the dimensions of the main view before and after requesting fullscreen. - (BOOL)application:(UIApplication *)applica...

iPad: Merge concept of SplitViewController and NavigationController in RootView?

I'm having trouble merging the two concepts of using a SplitViewController in my main view and having the "RootView" controller that controls the left panes popup/sidebar table view. I want to have the left "RootView" act as a navigation menu, but how do I do this when the RootView is tied through MainWindow.xib into the left pane of th...

Example of iPad SplitView where there is an .xib file specified for Root Controller?

Is it possible to specify a xib file for the RootController of an iPad's splitview? ...

How do you send a user to your app's settings from iPhone/iPad?

Is there a way to launch the iPhone/iPad's settings from within your app? ...