ipad

iPhone 4.0 build on iPad

I am currently developing a app with deployment target as iPhone 3.1 and base SDK as 4.0. I am not designing my app specially for iPad, many folks say that this will work on iPad as well. So please let me know whether this is correct ? if yes, what should be specified @ iTunes connect for iPad and iPhone? should we specify anything spe...

App with expanding animated line in iOS ... howto

The basic idea is very easy. Simplified you could say... a snake like line realized by a let's say 3px line is expanding across the screen collecting and interacting with different stuff, can be steered through user input. Like a continous line you would draw with a pen. I've already started reading apple's documentation on Quartz/CG. A...

application crashes while running on device due to sqlite assertion

HI I have developed the application on with sqlite Database .when i run the application in simulator it works perfect but when i tested with device application gets crashes. this is my code * Assertion failure in -[sampleProjectAppDelegate copyDatabaseIfNeeded], /Users/xxxx/Desktop/new/sampleProject/Classes/sampleProjectAppDelegate.m:...

iPad issue : Selecting a video from the videos folder using UIImagePicker

Hello there I created an app that allows the user to select a video from the photo Library e.g self.imagePicker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary; However, on the iPad you have a videos directory which if you drag a video in to iTunes, the video gets put in this directory. How can I access this directory fro...

Push notification not working properly.

Hi All, I have integrated push notifications in my app. They seem to work fine when the app is not running, but when I open the app they are not received (although they are received when I run a different app). My app highly depends on a good network connection, so there is no reason that notifications are not received due to bad netwo...

MPMoviePlayerController: key frame issue

I have a MPMoviePlayerController in my project. Documentation says that next call: moviePlayer.initialPlaybackTime = time; starts at the closest key frame prior to the provided time. Is it possible to start playing video from the specified time (not from the nearest key frame)? ...

iPhone SDK: Observe current time of AVAudioPlayer

Hi, is there a best practice for getting an event on every second of playback of an AVAudioPlayer instance? I need to change a view automatically depending on the current playback time. Thank You! ...

UINavigationController change child view with another

Hi, I have the following structure in Navigation Controller RootViewController | |--FirstViewController | |--SecondViewController How can I jump directly from FirstViewController to SecondViewController without showing RootViewController. I would like to put a button to the FirstViewController's N...

How to extend OpenFlow menu-like style

If you know OpenFlow or CoverFlow, maybe you will have interest for this question. Latest codes is here http://github.com/tupps/OpenFlow What I wanna is make each image as button or menu, click it will enter another view, and also can come back by click some "back" button. Any clues to implement this feature ? Thanks ...

Data updating in a UITableView that's the rootview of a SplitViewController

Hopefully I'll get some help here. Basic setup is this: My application swaps out the current Main View of the Main Window each time I want to switch to a new view. Why? Because I wanted to use a SplitView further on in the program (what's displayed in the SplitView depends on what's been selected before it). What happens is the appl...

Why doesn't Instruments "Leak" template catch my memory leak on my iOS app?

Hello. I'm diving into iOS development and am getting familiar with the tools. At the end of every day, I perform a "Run with instruments tool -> Leaks" on my app to check for any memory leaks I may have implemented that day. It rarely seems to detect any leaks and, while I'd like to think I'm just a natural iOS programmer, I refuse t...

display email inbox?

Hi, is there an option that I could retrieve from my app the latest 10 email subjects from my ipad email inbox. I would like to display the user his last 10 subjects in my new app. Any Ideas if this is possible and how? best chris ...

Image Question for iPad - Memory issues

So I installed my app on my ipad and it crashes due to a memory issue. I figured this was because I'm using really big image files so I went back and reduced them all and essentially cut out about 75% of their size by resizing them and then using PNGCrush. Now, as for running the program, if I have a background image for each of my 4 i...

Changing position of images in a table view cell

Hi I'm messing around with iPad development, and I'm trying to create a table view similar to the one found in Apple's Mail application, when setting up an account for the first time. It's basically just a grouped table view, with an image representing each of the supported mail services in the middle of each table view cell. Now, I ha...

How practical is the iPad for enterprise applications?

The management team at my company is rapidly abandoning their Blackberries and embracing iPads. At the moment they're still just emailing each other but I'm starting to see some interest in making some of our internal MIS apps run on the iPad, so they could quickly pull up some data during a meeting. Our company is strictly Windows/SQL ...

Adding a Half screen Navigation controller to iPad

Dear all, In my iPad application i need to implement a navigation controller behavior to the right half of the screen( I can't use split view controller because i need more space in left-side - around 600px). Is there any way to create a NavigationController with a fixed frame size ? thanks in Advance. ...

Xcode Renaming a Project - Malloc Error

Hi! I have an Xcode project for iPad which works (and compiles) flawlessly. I have been requested by my client to rename the project. Within Xcode, I selected Project > Rename and proceeded to recompile the project. Compilation goes through without errors, but when I try to test it on devices, the application fails to launch and dies w...

Reading content from file

NSString *contentPath = [[NSBundle mainBundle] pathForResource:@"test2" ofType:@"rtf"]; NSData *databuffer; NSFileHandle *file = [NSFileHandle fileHandleForReadingAtPath:contentPath]; if (file == nil) NSLog(@"Failed to open file"); databuffer = [file readDataToEndOfFile]; [file closeFile]; NSString *contentText =[[NSString alloc...

Create pdf inapp iPad

Hi, I'm looking to create a pdf document in my iPad app, and email it after creation. The document will always have different size (also many pages size), because it should contain a set of table rows, every time in a different number. Any ideas on how to do this? Thanks in advance, And ...

Is there any way to present an UIPopover from an UITableView index?

Hi, I would like to present an UIPopover from an UITableView specific index. Here's my code: if (indexPath.row == 5) { [tableView deselectRowAtIndexPath:indexPath animated:YES]; EnginesPopoverController *enginesPopoverController = [[EnginesPopoverController alloc] initWithNibName:@"EnginesPopoverController" bundle:nil]; U...