ipad

Why are Views loaded from nibs being placed 20 pixels down from the status bar?

I am trying to set up a layout as such in an iPad application. It will have three major views, which make up the whole screen. The views will be stacked one on top of the other, each taking up the full width. I have one major nib file which accounts for the entire screen space. In that nib file, I am instantiating the three view cont...

How do I reset the scale/zoom of a web app on an orientation change on the iPhone?

I'm having the same problem that a couple of others have had with getting the correct behavior in a web app on an orientation change, and there doesn't seem to be an obvious solution - I've seen this question asked a couple of times on Stack Overflow and no one's yet been able to answer it. When I start the app in portrait mode, it work...

iPad custom Keyboard GUI

Hi, I want to create custom GUI for keyboard layout instead of normal layout. How can I achieve this? Can anyone help me ? Is there any built-in style/layout available or do I need to create a view for same? Thanks, Jayesh ...

iPad application crash in Apple review - cannot replicate in simulator, have crash log

I am clearly missing something obvious here and would really appreciate some input. I have tried repeatedly to submit an application to Apple (iPad in this case) that is crashing on their end when testing but I cannot replicated the situation on my end (obviously I only have the damned simulator to work with at this point). The crash l...

Adding drop shadow to UIWebView and UITextView

I have a UITextView and a WebView side by side and I would like to add a drop shadow to both. This is an iPad app, so they rotate, thus an ImageView under them probably would not work. Any ideas? ...

iPhone: Execute code after animation of UIDeviceOrientation change finishes

Not sure if I can explain this correctly, but I am trying to execute a method device orientation animation finishes. Right now I have [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(didRotate:) name:UIDeviceOrientationDidChangeNotification object:nil];, but that triggers instantly. Is there a way to have...

How do you detect multiple iphone OS, equal to and greater than, using macros?

Hi, I am trying to execute different things depending on what os the users iPhone is using. Currently I have the below, which says - "if the device is 3.1, post this message" #ifdef __IPHONE_3_1 NSLog(@"this device is 3.1"); #endif But, How can I get it to say - "If the device is 3.1 or higher, post this message" ? ...

How can i show my pdf file on ipad application

hi i want to create simple pdf reader application for ipad. but did not find the proper documentation or sample code. please guide me from where i should start. Thanks Miraaj ...

Can i openly speculate based on App rejection that the iPad has xxx MB of memory?

If i were to calculate the iPad's amount of RAM based on just the one fact that my iPad App got rejected due to memory warnings twice, and me fixing it, would this violate the developer NDA? Obviously i know how much memory my App uses, how much the iPhone OS is likely to use and estimate the amount reserved for video memory, then i can...

What languages besides Objective-C will generate application code that works on an iPad?

I would like to write an app for the iPad but I can't stand Objective-C. Is there a language generator that would spit out Objective-C but let me write my iPad application in another language? I've heard a little about MacRuby and am curious whether it could be used this way. Any other similar projects in other languages? ...

IPad App Issue - Webview

Hi all I developing a Ipad application I am trying to use Webview but not able to open the URL in webview I am using following code NSURL *fileURL = [[[NSURL alloc] initWithString:@"http://www.google.com/"] autorelease]; NSURLRequest *requestObj = [NSURLRequest requestWithURL:fileURL]; [webview loadRequest:requestObj]; this code work...

Do I need RubyCocoaBridge or MacRuby or both to develop in Ruby for the iPad?

I've heard both MacRuby and Ruby CocoaBridge discussed in relation to iPhone/iPad development in Ruby. Do I need one or both of these? ...

Some problem with MPMoviePlayerController using in ipad application

Hi all I am using MPMoviePlayerController in Ipad application. Video is not showing but audio comes, same code working well for Iphone NSBundle *bundle = [NSBundle mainBundle]; NSString *moviePath = [bundle pathForResource:@"video" ofType:@"mp4"]; movieURL = [NSURL fileURLWithPath:moviePath]; MPMoviePlayerController *IntroMovie = [[M...

How does changing armv6/armv7 architecture to armv6 affect my iPad app? Will there be performance/stability losses?

Hello, I need to change the the architectures of "Any iPhone OS Device" from "Optimized (armv6 armv7)" to "Standard (armv6)" for a library. I'm not exactly sure what effect will this have on the performance and stability of my iPad app. If I understand it right, the iPad has the armv7 architecture. I'm not so familiar with architectures,...

iPhone/iPad SDK: homescreen/Photos style grid view?

I'm building an iPad app, and would like to use a "tiled" display with objects arranged in a scrollable grid, similar to the iPhone/iPad home screen and the iPad photos app. What I'm trying to achieve: (iTunes link) Is there any pre-built way in the SDK to do this? If not, how should I go about creating my own? Update: I think I ...

is it possible to deep link to youtube videos on the iphone?

on the web you can deep link to youtube videos like this: http://www.youtube.com/v/wiTSbmxssBQ&amp&start=20 is there a way to make this work on the iphone? thanks! ...

OpenGL ES 2.0 FBO creation goes wrong with unknown error

I've been struggling with this for a while now, and this code crashes with, to me, unknown reasons. I'm creating an FBO, binding a texture, and then the very first glDrawArrays() crashes with a "EXC_BAD_ACCESS" on my iPhone Simulator. Here's the code I use to create the FBO (and bind texture and...) glGenFramebuffers(1, &lastFrameBuffe...

iPad: Show view as Model View

hi all, i want to show my view as a model view. In iPad there are four method to show the view as modal which is listed 1. Full Screen 2. Page Sheet 3. Form sheet 4. Current Context i use following code to display the view as model -(void)OpenContactPicker { ABPeoplePickerNavigationController *Con...

SVG file render image in smaller size

Hello people I am working for the first time with SVG files. I an able to load SVG files on webview but the images are rendering smaller than the original. they are getting shrinked by a particular factor...... Is there some solution to my problem??? pls help. Thank You Meet bhatha ...

iphone - How do I add videos to iPad simulator?

No, dropping the videos to ~/Library/Application Support/iPhone Simulator/3.2/Media/DCIM/100APPLE does not work totally, because the simulator can see the video on Photos.app, but when I try to pick a video using UIImagePickerController my application crashes. I think this may have some relation to the format the video has to have. I...