ipad

Simulate Memory Warning on iPad

Hi All, I am developing an iPad application which is having a custom Tabbar and a custom Header Bar. The header bar and Tabbar will stay there in the app in all views. The first view is the login view and with the simulator running when I made a "Simulate Memory Warning" the Whole screen goes Blank (White Color). Only the headerbar and...

IPad OpenGL Es Application flickering

Hi Guys, I have an opengl es application on my ipad which is basically a paint application, uses pretty much the same code as glpaint, the sample from apple. When I run it in the simulator, everything looks fine, the lines render properly etc. But when I put it onto the actual ipad, every time I touch the screen, the entire screen fli...

How to non-deforming rotate an image in UIImageView in UIView when device rotates?

Hi everybody, I have a UIView with this structure inside it: UIView -- UIImageView -- -- UIImage The JPG image is vertical, and it's the same size of the device in the vertical orientation. I want the UIImage to rotate this as follow: Device is vertical: The image is shown full size (fills the screen) Device is horizontal: - The im...

How to change localization after an iPad app has been started

Hello, i am currently working on an iPad app (iOS SDK v3.2). The app is localized in several languages, i.e. english, german, russian, ... I want the user to be able to switch the localization for some UI elements after the app has been started. What is the best way to achieve this? NSLocalizedString always chooses the locale defined i...

How to append drawings to existing CGLayer effectively

Hi, I'm working on a drawing app. Currently all the user's drawings are drawn into separate CALayers. To improve the responsiveness of freehand drawing when the CALayer's path gets large, I am caching parts of the path at regular intervals in a CGLayer. The following code shows how I have implemented this within the CALayer's drawInCont...

Apple Application Loader - How to change the Apple ID being used ?

I want to switch the Apple ID being used by the Apple App Loader. I can't find a way to change the Account to be used in the App itself. Google search did not bring anything useful up. When i start the Loader App it gives me an error: "...Your Apple ID or password was entered incorrectly. (-20101)" I then can only choose "cancel" in the...

SpeakHere recording input source

Hi Could anyone tell me where to change the recording input source in the SpeakHere sample code of Apple? I can't figure it out... Thanks SpeakHere sample code : here ...

Can't find the memory leak

Hi Everyone, I've got a fairly simple app that has the following in the view the program is mostly in: int currentPageIndex; NSArray *images; NSString *nextImage; IBOutlet UIImageView *firstPage; IBOutlet UIButton *bigButton; In the implementation viewDidLoad, I load the array with a bunch of image file names: images = [NSArr...

What does NSPOSIXErrorDomain mean (iPhone)?

Hey Guys, I am trying to use the ASIHTTPRequest libraries to simulate a form post and gather the resulting cookies; however, when I am running the post, I get an error. I have traced through the request and narrowed it down to a NSPOSIXErrorDomain error. The site I am trying to connect too is an HTTPS: site and this error makes me th...

SpringBoard memory allocation (iPhone/iPad)

I have an application under development that uses a large amount of memory for images and OpenGL textures. I have noticed that occasionally, in fact frequently on some devices, SpringBoard, the application which manages the home screen for the iPhone and iPad can take up excessive amounts of memory, sometimes twice as much as normal. W...

Dock an item on top of UITableView like imdb app on ipad?

Hi, I want to do something similar to the left UITableView on imdb app on ipad. Once you have selected an item, it will become the first item on the top and it will dock there. When you flick the list below, it will always be there. Anyone has any suggestion on how I can achieve that? ...

iPad: Custom Toolbar for UISplitViewController

How exactly does one go about implementing a custom toolbar for the main table view section of a split view? The program I am writing for the iPad is landscape only so the split view has a static table view along the left side, and at the top is the toolbar with a title. It is this toolbar I would like to change. I have created the spl...

Can I use NSDateFormatter to convert this date string to an NSDate?

I have this string... 2010-08-24T16:00:00-05:00 and I'd like to extract the time portion from it (i.e. 16:00) and convert it to its 12-hour equivalent (i.e. 04:00 pm). I'm trying to use NSDateFormatter to accomplish this, but it's not working... NSDateFormatter* dateformatter = [[NSDateFormatter alloc] init]; [dateformatter setDateF...

One finger momentum scrolling in iOS in overflowing div

I have a webpage with two side by side overflowing divs that split the screen, similar to gmail the iPad. This works fine on desktop versions of WebKit, but is basically broken on iPhone / iPad because scrolling requires two fingers and lacks any momentum. What is the best way to implement two scrolling areas for the iPad, similar to g...

UIWindow animation

Hello, I currently use a custom UIWindow to display a custom alert view to make it look Apple style. When I remove it, it doesn't fade automatically, sk I decided to use a UIView animation and change the alpha to 0 then remove it but that still didn't do the trick. Would you guys know what to do? ...

How to record sound on the device, not sound from the iphone's microphone?

I need to record the sounds from the iphone, not from the iphone microphone. Does anybody know how to proceed? ...

how to dismiss an existing popover and show another popover in a single touch in ipad

i'm having a UItableView with lot of cells. Each cell is associated with different kind of popovers. When i touch a cell a popover will be shown. When i touch the other cell of the tableview i want to dismiss the existing popover and i've to show the popover corresponding to the selected cell. But, when i touch the area outside the p...

iPad Orientations.

Ok here is the structure of the app: in delegate, i add rootViewController as subview to the window: RootViewController *rootView = [[RootViewController alloc] init]; [window addSubview:rootView.view]; In rootViewController there is an inteface I crate programmatically (a brunch of buttons like the springboard), and is currently wor...

iPad:Size of my application in sandbox?

Hello, I have an application which stores bigger size records in sqlite db. I know every application stores in a sandbox separately. I want to know that, is there any size limit on iPad for every application in sandbox (or) size gets automatically extended in sandbox based on increasing application data? Thank you. ...

Which event get called when we hit UISearchBar.

Hello All, In my application, I need to do some activity i.e pushing otherview controller,when I click a UISearchbar which is added on view. what is best approach to achive this. As one of thing is when we click UISearchbar "searchBarTextDidBeginEditing" get fired,but with my scenario when I push view controller in "searchBarTextDidBe...