ipad

NSURLConnection + NSMutableData for file downloads is really slow

Hi guys. Basically what's happening is that I need to download a whole bunch of files in my app and I've set up a queue of sorts that downloads each file with an NSURLConnection and stores the server response incrementally in an NSMutableData until the download is finished and then writes the whole thing to disk. Here's the relevant par...

UIView and orientation changes: UITextField Preservation and UI frame custom animations

With no developer interaction you can have a view resize itself to support an orientation, in many cases this is fine, but what if you need to change the layout of your UI objects to better suit the new orientation? Apples answer is to: Have two separate ViewControllers with xibs that reflect the desired layout. Designate a master V...

popover control iPad

Hi All, In one of my apps, I want to show a commom popover control in 4-5 views (the views comes after selecting tableview cells). I am able to show the popover in individual views but i know that's not the best approach coz every time you do the code repeatation.if you any best suggestions please do me this favor. Appreciate you...

MPMoviePlayerController supported formats in iPad

According to the MPMoviePlayerController reference: This class plays any movie or audio file supported in iOS. This includes both streamed content and fixed-length files. For movie files, this typically means files with the extensions .mov, .mp4, .mpv, and .3gp and using one of the following compression standards: ...

On iPad/iBooks: XHTML code for opening/linking to another app within ebook?

My question applies to the iBook app for the iPad. The goal is to be able to open another app on the iPad from within the text of an ebook. What code should be inserted into an EPUB's XHTML file to create a direct link to another app on the iPad? ...

go back 1 view in UINavigationController?

Is there a method to go back 1 view in the stack on a UINavigationController? Or to a view with a specific title? ...

Separate orientation NIBs

I am trying to support multiple orientations within an iPad application, and the views that the designer came up with aren't able to be setup with purely the springs/struts model. I have laid out the views in two seperate nib files and currently use the follow... - (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)...

Iphone/ipad background image

So I've followed this guide to putting a background to my main window http://howtomakeiphoneapps.com/2009/03/how-to-add-a-nice-background-image-to-your-grouped-table-view/ However, I am using a navigation controller, and when I push the navigation view(s) on the stack, the new views cover it (obviously). But I change all of the backgrou...

UITabBar unresponsive on iPad

I have an existing iPhone project that has been tested, submitted, and approved, compiled with the 3.1.3 SDK. I've taken this project and converted it to a universal iPad/iPhone app, following Apple's instructions (i.e. letting Xcode do its magic). This app has a UITabBarController as its root view controller, built inside a XIB. When r...

Table view similar to iPad app store??

Hello, all. I've been scouring the internet, and I haven't found a conclusive answer to this. If you look at the iPad App store (a number of other apps), the Categories tab has (what looks like) a 2-column table view. One solution I've read using a web view (which I haven't yet explored in depth). I've tried using subviews within a t...

UIGestureRecognizer blocking table view scrolling

I'm using a custom UIGestureRecognizer subclass to track gestures on my InfoView class. The InfoView class is a subview of a custom UITableViewCell subclass called InfoCell. I've added my gesture recognizer to my root view (the parent view of everything else on screen, because the purpose of my custom gesture recognizer is to allow dra...

iPad Simulator not receiving touch events outside of iPhone's 320x480 frame

-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ UITouch *touch = [touches anyObject]; gestureStartPoint = [touch locationInView:self.view]; NSLog(@"test x:%f",gestureStartPoint.x); NSLog(@"test y:%f",gestureStartPoint.y); etc.. Srangely, I'm not receiving any log statements if I click outside a 320x480 fra...

Time-sensitive in-app purchase on iPhone

With apple's in-app purchase approval system, is it not possible to have new in-app purchase content available every day? I've read in various places that the process typically takes 1-2 days .. sometimes longer. I know the typical answer to this would be to create a back log, but we're working with time-sensitive content and need it to ...

Google gmail on iPad: how do they scroll just the right hand side of the page?

I am trying to do (EDIT: on a web-app destined primarily for the iPad) what Google does in gmail for iPad: the left-hand pane containing the list of messages stays put, and the right hand side of the screen (the message content pane) can be scrolled vertically with a touch-gesture. How is this division of the page with right-side-only ...

Problem in table view

Hi Im using the table view in the view controller,with the simple array was displayed in the list.that array was displays and works fine but im getting this Warning.may i know the reason for this and please some ideas to rectify this issues.. WARNING: Using legacy cell layout due to delegate implementation of tableView:accessoryTypeFo...

iPad Keyboard: mode based key augmentation

When using the "add Account..." function in the 'Mail,Contacts, Calendars' section in 'Settings' on an ipad, selecting the address field causes the keyboard to change the labels of the '!,' and '?.' keys, shorten the right '.?123' and space key and add two new keys ('_' and '-') I have also seen the Keyboard augment to show a '.com' key...

iPad custom size of modal view controller

I have a couple of modal view controllers of certain size. I'm trying to avoid the use of custom views (creating full screen black translucent overlay over current view, add the modal view over that view, do the animations, etc) to present it because there is no modalPresentationStyle that fits the size of my controllers. Now I'm using ...

UIScrollView animation laggy

Hello, I'm writing an reader for iPad that shows images (1024x1322 max) in a UIScrollView each image is loaded in a background thread when it's needed (during scroll) (there is always 3 images loaded at max). My problem is: when the data is loaded I'm updating the UIImageView, in my background thread like that: image= [[UIImage allo...

iPhone application crash (iOS4 Only)

Hi there, My iPhone application occasionally crashs the first time it is run after being installed. After this every time i try and run the app it remains on the splash screen or even a black screen until eventually it dies. I have to restart the device to get the application to work. After this it works fine every time. The only change...

Can I change the UIPopover animation anchor point?

I'm attempting to achieve a "drop down" menu effect with a UIPopover. When I change the height from 0px to 500px it appears to stretch 250px up and 250px down... essentially anchoring the UIPopover at the original spawn point on center. I would like the anchor to be the top of the popover, so that when I adjust the size it is the bottom...