ipad

iPad issue with a modal view: modal view label null after view controller is created

This is a weird issue. I have created a view controller with a nib file for my modal view. On that view there is a label, number and text view. When I create the view from the source view, I tried to set the label, but it shows that the label is null (0x0). Kinda weird... Any suggestions? Now lets look at the code (I put all of the ...

Turning an iPad app into a universal app

I've created an iPad app, and want to turn it into a universal app (i.e. one app that works for iPhone and iPad). The Apple docs seem to only talk about the "Upgrade Current Target for iPad" option. Is there an option to go the other way? ...

Launching application in landscape orientation for IPad

Hello All, Facing one issue with launching application in landscape orientation for IPad. I have developed IPhone application which later I ported to IPad. I have made setting regarding orientation in info.plist [ UISupportedInterfaceOrientations~ipad ] to support all orientation UIInterfaceOrientationPortrait , UIInterfaceOrientat...

How to update Root view based on selection in detail view in split view based ipad App?

I have used Split view controller in which root view as well detail view both inherits table view. I want to update Root view based on selection in detail view how to do that? I dont want to add new navigation view in root view. Please help as early as possible. ...

Change the width of Master in UISplitViewController

Hi, The iPad programming guide says that the splitView's left pane is fixed to 320 points. But 320 pixels for my master view controller is too much. I would like to reduce it and give more space to detail view controller. Is it possible by anyway? Edit: Link to the document which speaks about fixed width - http://developer.apple.com/ip...

Remove UIViewController from UIScrollView?

Hi, i add different View with (setPageID) to a ScrollView, but know i get a Memory problem on rotaion and i want to remove the actualy not showed view... how can i do this or how can i remove the memory problem? Thanks!!! - (void)setPageID:(int)page { if (page < 0) return; if (page >= self.listOfItems.count) ret...

UITableViewController on UISplitView. Why does drill down stay on 1st table? (using monotouch)

I'm using the UISplitView in my app with the left side (popover in portrait) utilizing a UITableViewController. I want to reuse the master table controller so when I want to drill down I create a new instance of the object and push that. However, when I set the data source, all the data goes into the 1st instance table (hope that makes s...

Toolbar hiding on rotated UISplitView DetailView

I've based my app on Apple's SplitView project type. I have a TableView as the Master, and am using different types of views as the Detail view. To select types of detail view, I'm using the fancy concept of buttons on my DetailView toolbar. When the DetailView is derived from UIViewController, everything is good. When the DetailView...

where does the About button go on iPad app?

My iPad app uses a splitView. Where should I stick a button to bring up an about dialog? Thanks ...

ipad dev - in the UISplitViewController template, how is the method setDetailItem called?

I am developing an ipad app which has a UISplitViewController. (I use IB to build the interface, but I do not use the template) Both master and detail (left and right) views are navigationController. The left view subclass UITableView and the right view should push another controller if the cell on the left is selected. I don't know how ...

didSelectRowAtIndexPath TableView Popover Issue

I've tried a lot of different code examples including just brute force try this try that but, stumped. The popover left arrow seems to display just fine if the first row is displayed at the very top of the table view but, when the table scrolls down the popover left arrow doesn't align correctly with the table row selected. Solutions or...

What is the maximum sandbox size on iPad?

I'm writing an iPad app that acts as a media player (video and photos). I know there is a 2GB size limit on apps, however is this the size limit on an app when downloaded? Or the limit on the size of your sandbox throughout the life of the app? For example what if my small app later on downloads various media files to its sandbox that pu...

Is it possible to send OSC commands to an iPad via the Camera Connection Kit?

I'm building a small controller device that I'd like to partner with a computer. I've settled on using OSC out from my custom built hardware and am pretty satisfied with what I can get from WOscLib. Two goals I'd like to achieve are portability and a very nice ratio between battery:computing power, and this has lured me towards using iPh...

How can i customize UIPopoverController view on iPad?.

Hai all, I am looking for a solution to customize PopoverController view in my iPad app. I need to remove the pointing icon along with the popover view and to make the view to the middle of the App window. It should go back to the button from where it is popped when we click on anywhere other than the popover view. USA TODAY app in iPad...

Make iPad app a Universal app

I have an iPad app that I would like to make Universal, however this seems alarmingly difficult. I've changed things around so that I support both builds, but when building, I get lots of errors about using UIPopOvers. Here're my questions: Why does UI_USER_INTERFACE_IDIOM() not compile or register on 3.1.3? Can I conditionally have va...

UIWebView rotation and memory problem

Hi. I have an UIWebView that loads a embedded XHTML like this: body = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)]; body.scalesPageToFit = YES; body.backgroundColor = [UIColor scrollViewTexturedBackgroundColor]; body.autoresizingMask = UIViewAutoresizingFlexibleBottomMargin...

how to open the pdf in myapp while i am reading the pdf in safari for iphone?

when i read pdf in safari in ipad, i want to open that pdf in myapp in ipad from that position of pdf page. how to read that pdf in myapp. ...

CGContextDrawPDFPage displays white or garbled text

Hi all, In the process of updating my iPad app I've been attempting to draw a page from an existing PDF document into a Core Graphics context then save it as a new PDF, but am having difficulty getting the text to display properly. Images in the newly-created PDF look great, but text rarely appears correctly: more often that not it appe...

UIWebView pagination

I have a large html content to render in a UIWebView, I want to display the content in pages just like a book and the user uses buttons to navigate the pages. Is there any way to calculate the height of html content that fits in the webview without scrolling? ...

Read pdf in iPad

Hi, I need to read pdf file on iPad. What i need is, read pdf with page turning animation, how can i do this. Please help with sample code. Thanks ...