ipad

NSURLConnection and NSData leaking memory

Hello All, So I was wondering if this was a common problem to be leaking memory using NSData to store a connection reponse data. For example, I have this line to initialize my data object davData = [[NSMutableData data] retain]; And then when the connection errors or finishes loading, I release it. From my understanding, that shoul...

iPad autorotation displays black frames

I am developing an iPad application and in the root view controller, while it is autorotating, i see black rects appear during the animation and disappear once the rotate animation is complete. I do not have any views which have black backgrounds. I see the same thing even when i remove all subviews of the root view controller's view. Th...

iPad status bar overlaps view

In my iPad application, I have a 768x30 px view i place just below the status bar with coordinates (0,0). The status bar is also fully visible. When the app launches the status bar overlaps the view, so the view appears under the status bar. I am creating the view in Interface builder and it also appears correctly on there. The view app...

Anyone know iOS library or sample for drawing diagrams like mind maps/ visio/ gra

Anyone know iOS library or sample for drawing diagrams like mind maps/ visio/ graphing sw. Doesnt have to be full library or full example. Can be UIKit or OpenGLES I want to have a app that is like a tree structure with root topic the sub topic etc. Clicking on root will open subfolders and so on and they get laid out so they dont over ...

Application failed codesign verification. What do I do?

XCode gives me this warning when I build the app for release. Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate. (-19011) Do I need to delete all entries from my keychain and redo getting a certificate, provisioning profile, etc? I can build and debug on the...

UITableView performance issue

Hi all, I have a UITableView which gets data from a server and updates in every 1 second(using performSelectorOnMainThread). Since this blocks main thread sometimes its not easy to scroll the table and its painfull for the user. Also i cant reduce my refresh interval also. What are the possible solutions for this problem? ...

Updating DetailViewController from RootController

I'm trying to create an iPad application with a similar user interface to Apple's Mail application, i.e: RootView controller (table view) on the left hand side of the split view for navigation with a multiple view hierarchy. When a table cell is selected a new table view is pushed on the left hand side The new view on the left side can...

Rotating a UIView through the "transform" property gets messed up when the orientation changes

Hello! I'm trying to create an iPad application but am encountering a questionable behavior from the simulator (Can't be tested on a device for now..). The issue is when having any UIView rotate through its transform property, and then allowing the view containing it to be manipulated by changing the orientation of the iPad. This can b...

Assets Library Framework on iPad

Is there any possibilities to use Assets Library Framework on iPad? As I know it is a framework of IOS4 and higher, but I need to use it in my iPad application. ...

How to harness HTML 5 Canvas with editing tool on iPad

Hey guys, So my company is trying to experiment with enabling an "Autodesk WS-like" (http://www.autocadws.com/mobile) interface though our tool. Our tool has a lot of the same ideas, lay something out, change properties, etc. So the basics of the application seem like they would be very similar. We think it was done with a healthy am...

What steps are necessary to get an App into the AppStore?

Can someone please list the steps needed to get a project setup for the AppStore. Lets assume the following I do not have any certificates, provisioning profiles, distribution profiles, app id (whatever they are), etc. I have an iPhone and an iPad In addition, please specify 1. what I would need to do if I created a second App 2. If...

Include asyncsocket in iPad project

Hey all, I am having a heck of time loading asyncsocket into my iPad project so I can start using it. So far I added the AsyncSocket.h and .m classes and loaded CFNetwork.framework and made sure all the paths line up - but I'm getting 6522 errors as I try to build. The first error is Block.h: no such file or directory. Any suggestions...

Zome Animation-iPhone/iPad as in Safari

I am trying to implement a zoom animation as in Safari. I have created a Window that contains a number of icons representing user documents. When the use clicks an icon, I would like to have it zoom then fill the screen with the target view. The view structure is Root View Navigation View Icon 1 ... Icon N Content Wind...

UITableView - hide all groups/cells while data is loading

I don't want to display my table view cells until the data has been loaded from an external source. I want to show an activity indicator over the table background while the data is loading. I can get the indicator to show by adding it as a subview to tableView, but I can't figure out how to hide the rows until they are ready to be displa...

Iphone Allocation with NSData

Hi - I have a method that downloads many images from the internet, then saves them to the device. Here is the code: -(IBAction) updateImages { for (x=0; x<[imagesToUpdate count]; x=x+1) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc]init]; NSMutableDictionary *tempDic = [dic objectForKey:[imagesToUpdate objectAtIndex:...

store offline data for querying readonly data in ipad app

My app will consume a xml web service that will pull info, images and documents from the server and store it offline (docs and images are stored on a path, not in the database). I need to perform some simple queries on the offline data for viewing and browsing the offline data. There will be no updates made on the client, the data is re...

Set height of MFMailComposeViewController when pushed in UIPopoverController on iPad

I have a share button in a popover that pushes MFMailComposeViewController. The popover correctly becomes a modal view, as it's supposed to, until i dismiss the modal. The problem is that, while it keeps the width of the popover (320.0), it grows to the height of the view. I would like to set the mail view to a height of 500.0. Here's ...

NSDecimalNumber and popping digits off of the end.

I'm not quite sure what to call it, but I have a text field to hold a currency value, so I'm storing that as a NSDecimalNumber. I don't want to use the numbers & symbols keyboard so I'm using a number pad, and inferring the location of a decimal place like ATMs do. It works fine for entering numbers. Type 1234 and it displays $12.34 but ...

Load PDF on iPhone

Hi all, I am using the 'Leaves' framework to add a page turn effect to my app. It displays PDF's using quartz and this works fine if you are loading a PDF from the main bundle. Here is the working code: CFURLRef pdfURL = CFBundleCopyResourceURL(CFBundleGetMainBundle(), CFSTR("SampleIssue.pdf"), NULL, NULL); pdf = CGPDFDocumentCreateWi...

how to adjust the view to land scape mode when application launches in landscape mode

i have a split view in ipad and its working fine when i launches it in poprtrait but is showing in portrait views in landscape also... how to automatically adjust the views in land scape mode when app first launches.... ...