ipad

Saving a project as an .ipa

Hello all! I wrote an app for the iPad, but I don't currently own an iPad. I would like to save my project as an .ipa file (assuming it's .ipa for the iPad, like the iPhone) so I could send it to a friend with a Jailbroken iPad to test it on an actual device before I release it to the App Store. Is there any way I can do this? Thanks ...

Showing login view controller before main tab bar controller

I'm creating an iPad app with a tab bar controller that requires login. So on launch, I want to show a LoginViewController and if login is successful, then show the tab bar controller. This is how I implemented an initial test version (left out some typical header stuff, etc)... AppDelegate.h: @interface AppDelegate_Pad : NSObject ...

SIGABRT error when running on iPad

Hello, all. I've been banging my head for a few hours because of this problem. I have a universal project that's a mix of iPhone and iPad projects. I put these codebases together into the universal project and, after a lot of "#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 30200" checks, got the project to run in both the iPhone (OS 3.0 to 3.1....

What are the video formats supported by MPMoviePlayerController on the iPad?

When you use iTunes to sync your videos with the iPhone the videos are always saved with no more than 640 pixels wide, if I am not wrong. What about the iPad? What is the size of videos iTunes syncs with iPad? 1024x768? and what if the video has a dimension below 1024x768? Will it scale up? or will it keep the video at low res and scale...

Video/audio streaming does not stop even if UIWebView is closed - iPad

Hi I see this issue only on the iPad. The same things works as expected on the iPhone. I am opening the URL from my application in a UIWebView. If the URL is a normal web page, it works fine as expected. But if the URL is that of a remote video/audio file, the UIWebView opens the default player which is again good. Now when I dismiss ...

GL_POINTS or quads fastest?

I'm working on a drawing app where there's a lot of textured points. Just wondering if there's a speed difference between the two (i tried both and couldn't tell) Thanks ...

Can I connect to a remote sqlite binary dump file?

hi all, I try to connect to a remote sqlite file and when I try to open the file I get an error: if (sqlite3_open([databasePath UTF8String], &database) == SQLITE_OK) { ... }else { // Even though the open failed, call close to properly clean up resources. sqlite3_close(database); NSAssert1(0, @"Failed to open database with...

UIView frame origin doesn't set good

Hi guys! Here is my code: frame = _pageContentView.frame; NSLog(@"%f; %f; %f; %f;", frame.origin.x, frame.origin.y, frame.size.width, frame.size.height); frame.size.height = pageContentView.frame.size.height; NSLog(@"%f; %f; %f; %f;", frame.origin.x, frame.origin.y, frame.size.width, frame.size.height); _pageContent...

bar btton disappear on splitview controller when orientation change in ipad application

i use splitview controller in my ipad application,it works ok,but sometimes when i change interface from landscape to potrait it disappear bar button and popovercontroller from the toolbar. plz answer if anyone know about this problem. ...

Portrait orientation only for iPad?

According to apple my application has to be able to run in both portrait modes. How do I accomplish this with shouldAutorotateToInterfaceOrientation?? ...

iPad launch orientation not detected

I have an iPad app that works correctly except for an odd issue during launch. I've read several questions & answers regarding orientation, but this still has me stumped. The root view controller is a UITabBarController with 3 tabs. Two of the tabs are have custom view controllers (one based off of UIViewController, the other off of UIT...

iPad/iPhone duplicate view and resize?

I'm working on an app that is similar to a Presentation application (Keynote/Powerpoint) for the iPad, that will use the VGA adapter to present on screen. However, if the presenter is using the external display for the presentation, I'm wondering if it's possible to have a miniature version of what's on the external display show up on th...

UITabBar in iPad - Won't go into landscape mode with more than 2 items

I created a new project and selected the Tab Bar template for iPad. I opened it up in Interface Builder and added 4 more items, bringing the total items to 6. I did a build and run and it opened up fine in the iPad simulator, but it wouldn't go into landscape! I then backtracked in interface builder and found that it would go landscape i...

Memory over-release problem when I am animating UIView

I have enabled NSZombie's and I am getting the following message in my console when I am running my application: *** -[UIViewAnimationState release]: message sent to deallocated instance 0xf96d7e0 Here is the method that is performing the animation -(void)loadAvatar:(STObject*)st { NSAutoreleasePool * pool = [[NSAutoreleasePo...

How can I make a UITextView not selectable?

I have some text in a UITextView. I don't want it to be selectable. How can I do this? ...

iPhone check for a constant at runtime in universal app

I'm making a universal iPad/iPhone app which can use the iPad's VGA out connector to mirror the content of the app on an external screen. However, the iPhone does not have this functionality. given the following code, #ifdef UI_USER_INTERFACE_IDIOM if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { NSLog(@"this co...

Does the iPad support GLSL?

Does the iPad support GLSL? ...

View controllers inside tab bar controller not auto-resizing on rotation

(Correction: the view controllers are not auto-resizing instead of not auto-rotating.) In an iPad app, I have five regular view controllers (not navigation controllers or anything like that) inside a tab bar controller. The tab bar controller is just a plain UITabBarController declared in the app delegate. All the view controllers ret...

CGLayer from an IUView

Hi On iPhone or iPad someone know how we can get a CGLayer (not a CALayer) from an UIView? Regards ...

Can iPad/iPhone Touch Points be Wrong Due to Calibration?

I have an iPad application that uses the whole screen (that is, UIStatusBarHidden is set true in the Info.plist file). The main window's and main view's frames are set to (0, 0, 768, 1024). The main view has multitouch enabled. The view controller has this code to handle touches: - (void)touchesMoved:(NSSet *)touches withEvent:(UIEve...