ipad

Can a UISplitViewController be the root controller in a UINavigationController?

Interface builder does not allow you to add a UISplitViewController as the root controller of a UINavigationController. I've also tried programmatically creating the UINavigationController and setting its root view controller to be the UISplitViewController. The result is an empty window with just the nav bar. I've also tried a split ...

iPad split view in HTML like Gmail / Ymail ?

Hi all, As we all know, iPad do not support the <frame> element, but both Gmail and Ymail could do something similar by creating a 2pane style , and the navi pane (left one) could scroll (in ipad style). May I ask if anyone do have the idea how it created? Thank you very much. ...

MPMoviePlayerController for iPhone App on iPad

For some reason, the expand button the arrow points to in the screenshot below causes the view controller that initiated video playback to animate back over top of the video, but without stopping video playback which means you can still hear the audio even though the video is no longer visible. I've tried other movie control styles, but ...

iOS (Apple): Is there way any for the application to ask the OS to block the device in that application?

I would find useful, in some cases, and under the user's permission, to block the device so only the running application can be accessed unless the usrer's password (pattern or whatever is used to unlock the session) is introduced. I guess the mecanism should be something like: The application asks the os to do this, the OS asks the use...

Looking for big Ipad example with all features

Hi, I want to develop an Ipad app from scratch and i am looking for a big project that I can use as an example. I already have some samples but they are all really small projects. Does someone know where to find a big sample with all the features of the ipad included in it? I am more looking for an app that works with the sqllite db an...

Error while posting duplicate message in Twitter(MGTwitterEngine)

Hi, I am using MGTwitterEngine for iPhone to support twitter, I am getting error(403) while posting a message second time how to handle this issue. That is.. Let the message is "what are you doing" I am posting using [mTwitterEngine sendUpdate:"what are you doing"] for first time it is posted successfully, if i want to post the same...

Disallow UIScrollView from catching subviews touches

I've got a UIScrollView covered with a custom UIView which desperatly needs to listen to all the touch events that happen inside of him. At first, all I was getting was touchesBegan: and touchesCancelled: events. No touchesMoved:, no touchesEnded:. In fact, all the dragging gestures where being canceled by the above UIScrollView. This w...

Which text rendering framework should I use?

Hi all, I'm currently scoping out a project for the iPad which is rather text and font heavy. There are many pages of styled text, which also need custom fonts. I have toyed with the idea of simply rendering PDF or PNG files on-screen, but I think we need to be able to dynamically repaginate the text. We've used UIWebView in a previous...

glReadPixels crashes on specific render buffer widths

I need to read content of CAEAGLLayer, which has various widths and heights (based on background image size). on iPad emulator everything is okay, but on device I have crashes or weird horizontal lines instead of content. Crashes not happens on width, for example, from 537 to 544 pixels I'm using following code - (UIImage*)image { ...

Using UIWebView to render images instead of UIImageView in iOS uses much less memory. Makes sense?

I just figured out that - instead of using a UIImageView to show an image - I use an UIWebView, it uses much less memory. Does that make sense for anyone? What I did was to get an ordinary .jpg file with about 280kb in size and show it on a simple app with just an UIImageView. Looking at Instrument's Object Allocations tool, the applic...

iPad search bar bad memory access?

Hello all, So I am trying to implement a search bar in my app and am very close but can't seem to figure out where this memory error is occurring. This is what part of my search method looks like: filters = [[NSMutableArray alloc] init]; NSString *searchText = detailSearch.text; NSMutableArray *searchArray = [[NSMutableArray alloc] in...

How would I go about accessing the iPhone filesystem via Java?

I was wondering how such a thing is possible to do? I am aware Java isn't exactly the most hardware language available, but is there a way to access the devices filesystem? If so could you link me to some helpful information and how I would go about doing so? Thank you very much! ...

Can Appcelerator Titanium be used to develop iPad apps?

Hi there, I'm trying to find out whether Appcelerator's Titanium is good for iPad app development, or if it can even be used as such? There seemed to be an announcement in April 2010 of a 'Titanium Tablet' package, although I can find no further mention of this. From the forums (where I've also asked this question, but have yet to re...

iPad Navigation Patterns

I've been working on an iPad application that has about 15 view controllers. Some of the view controllers are full screen, others are embedded inside the other view controllers (think split view controller). On the iPhone navigation is very straight forward. Even if you have a ton of view controllers, you are using one of Apple's root v...

How to change textfield height for an ipad using interface builder?

We're using Interface Builder for developing an app for the iPad and we can't figure out how to increase the height of the textfields. When we were using IB to develop an application for osx, you could go to the textfields attributes and under the control section you could set line break to word wrap instead of clip. When we try to ...

Is there a photo display control available for ipad?

Like a photo gallery control, where you can load and display pictures in thumbnails, and then tap on them, and see full image, zoom in/out? ...

iPad SplitView Application not taking up entire window

Hey guys, I am working on a split-view based application for the iPad. I created a menu overlay system that has a button that leads into the split-view application. See comment for image When you click the enter button, however, it results in this: http://commandoswat.webs.com/Screen%20shot%202010-09-16%20at%201.37.11%20PM.png Here i...

Detect if headphones (not microphone) are plugged in to an iOs device.

I need to change my audio depending on whether or not headphones are plugged in. I'm aware of kAudioSessionProperty_AudioInputAvailable, which will tell me if there's a microphone, but I'd like to test for any headphones, not just headphones with a built-in microphone. Is this possible? ...

UIApplication sharedApplication openURL does not work with File:// (load local pdf file)?

This does not work NSString *myPDF = @"file:///Users/sm/Documents/doc.pdf"; This works NSString *myPDF = @"http://www.site.org/doc.pdf"; [[UIApplication sharedApplication] openURL:[NSURL URLWithString: myPDF]]; So should I create a web view and load the pdf on the web view? ...

precompiler for ipad

HI all, In xcode I am trying to load different nib file in case I am using iphone/ipod or ipad. I have a Define.h file with all enum and constants in it, so I would like to put in there a kind of (obviously wrong because I don't know how to do it): #if IPHONE // <-- can I intercept the Active Executable here ? #define MY_VIEW @"Tab...