ipad

Why isn't my modal view being displayed in my iOS app?

Hello. I have a tabbar-based iOS app with two tabs. When I tab into the second view, I want it to immediately present a modal view to the user. Here's my simple code for this... - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; MyViewController_iPhone *myVC = [[MyViewController_iPhone alloc] initWithNibName:@"...

Why doesn't my UIView remain transparent after it finishes loading?

Hello. I have a view being displayed modally and, before I display it, I set it's background color to transparent... - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; MyViewController_iPhone *myVC = [[MyViewController_iPhone alloc] initWithNibName:@"MyView" bundle:nil]; [myVC.view setBackgroundColor:[UIColor co...

Understanding (symbolized) iOS crash log

Hi, This is a continuation to my previous attempt to resolve a pesky issue affecting a few instances of my app. The problem happens on a few iPads only, but as you know, these are the ones who take their time to leave a nice, thoughtful review :-/ Anywho, I finally got the crash log symbolized properly, and it is pointing to: Nonograms...

Are modal view controllers the preferred way to replace the entire interface on an iPad?

Specifically, I have something like a game, with a menu screen made out of standard components. I want a button to switch to another view controller that the user will interact with for a while, then return to the menu screen. It seems like having the menu controller present the 'game' mode as a modal view controller is the most straight...

iphone/ipad website development/testing on Windows........

Can i successfully do iphone/ipad web development (not native apps) on Windows and without having iphone/ipad device? Work Like PSD to iphone optimized XHTML, CSS layout. Interested to learn and make iphone/ipad optimized websites? Any tips? How much it will be different from desktop? What different other than small screen? ...

core-plot - refresh graph dynamically + iPad

Hi guys. i have a have graphview.m which creates a coreplotviewcontroller.view in this way CorePlotViewController *aCorePlotViewController = [[CorePlotViewController alloc] initWithNibName:@"CorePlotViewController" bundle:nil]; aCorePlotViewController.view.bounds = CGRectMake(0,0,896,605); aCorePlotViewController.view.cen...

support iphone,ipad,android

Hi folks. develop android apps that should support iphone,ipad,android.is there any way for developing this kind of generic app or we need to develop aps depending on mobile os ...

Capturing PDF pages as Image

Hi iDevs, I want to capture PDF pages as Images, To do so i am drawing PDF over UIView using CGContextDrawPDFPage method. then capturing image by implementing following code: UIGraphicsBeginImageContext(view.bounds.size); [objPdfPage.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *viewImage = UIGraphicsGetImageFromCurren...

Is there a thread safe way to create PNG images in pre-4.0 iOS?

I'm pretty sure that UIImagePNGRepresentation([UIImage imageWithCGImage:imageRef]) is the cause of random-looking memory leaks when done in a background thread (it causes leaks that trace back to CGContextDrawPDFPage!). Now, everywhere else on the internet says I should use CGImageDestination, which isn't available until iOS4. Is the...

IPHONE AND IPAD Programming Training course in London?

Hi, I am looking for IPHONE AND IPAD Programming Training course in London or anywhere in UK if it is good i dont mind to travel. I have done some very basic applications and also submitted few apps to appstore. I would like to concentrate more advanced client-server applications now and also looking to experise in Cocoa programming. C...

Building app for iPhone and iPad.

Can any one suggest how I can build Universal app for iPad as well iPhone. What all things I should take care of ? How to take care of resource images used ? Is it possible to have same code base should work for iPad as well iPhone. ...

Getting text position while parsing pdf with Quartz 2D

Hi guys, another question regarding pdf parsing... Just read PDF Reference version 1.7 "5.3.1 Text-Positioning Operators" and I am a little bit confused. I wrote some code to get transformation matrix and initial text position. CGPDFOperatorTableSetCallback (table, "MP", &op_MP);//Define marked-content point CGPDFOperatorTa...

UIPopover locking background view

Hello, I am trying to replicate the iPad passcode view. Which basically is a popover with no arrow direction, that locks the background view kinda like a modal view controller. My question: Is there a way to lock the underlying background view when presenting a popover. My idea: The only real solution that i could come up with is pl...

iPad Modal view not rotating

hey there stackoverflow, So I have a modal view displaying in my app that has a little info for the user to fill out. The problem is that when the device is rotated, some animation occurs, but only in the frame. The form itself does not rotate. All the autorotate options are set to YES. I am displaying it when the user clicks on a f...

How to make UIsplitview's popover visible in portrait mode iPad

I would like to make popover view visible whenever user switches from landscape view to portrait view in UIsplitView of iPad. Although user can make it visible by clicking on bar button but I want this to be automated for portrait mode. ...

Gamekit iPad and iPhone Communication

I am developing an iPad app (the "Server") which needs to communicate with up to 4 iPhone/iPod Touches (the Clients). Should I create 4 GKSessions for each of the iPhones? Should I have 1 GKSession which connects all 5 devices, and if I do, will each iPhone be able to "see" the others (Ideally, this shouldn't happen as it will keep thi...

iOS - debugging tool to detect view touched

Wondering if anyone has written or come across a good way to log to the console the view that a touch occurred in. I know touchesEnded: can be implemented, but my problem is that something mysterious is blocking touches on my views and I don't know what it is. I would just like to know what is intercepting the touches. I would like to l...

Can we change the maximum size of the html5 offline app in iPad/iphone from inside the app itself?

First of all is the 5MB limit, that is supposed to be the limit for offline storage, related to the data storage of files specified in MANIFEST or is that related to the data in database that can be stored? Either way is there such a limit in real and if so can it be changed dynamically from inside the program? ...

UIWebView rotation on iPad

On the iPad, I present a view in the "detail" side of a split view controller that is basically just a UIWebView, which loads an HTML file in the application bundle. The application supports rotation and hides/shows the "master" side of the split as appropriate. When the UIWebView is initially loaded in landscape mode, its content seems...

Whats the best way to create an iPhone and an iPad application simultaneously?

I have an iPhone app that I would like to port over to the iPad, but I would like to have as little duplication as possible. How do people usually go about doing this? In xcode can you have different targets for iPhone and iPad and perhaps do some pre-processor checks? Or is it best to simply have two separate projects altogether? Not...