ipad

Programming Environment that runs directly on the iPhone or iPad?

Is there a development environment that runs directly on an the iPhone OS? I will be without access to a computer/internet for some time, but will have the use of an iPad (WiFi, jailbroken). Do you know of any way to dabble with programming directly on the device. Since apple is commit to not let it happen, I assume I will have to fin...

how to display video in landscape mode at the start of the application means after launching

how to display video in landscape mode at the start of the application means after launching ...

Navigation based popover ?

I would like to make a navigation based popover master pane kinda like the one in ipad mail app.I already have the data in a uitable view in the popover, how would i put each of them nd their own category in a navigation based popover. Thanks, Elvin ...

How does autosize work in iPhone SDK?

Hi, I'm trying to do the following: I need to do a lot of custom things, so I subclassed everything. I'm having issues with autoresize and positioning. For instance the UIToolBar is not at the correct position. So here is the question: If you don't use UITableViewController or any other Controller, that takes care of all the posi...

CATransaction: Layer Changes But Does Not Animate

I'm trying to animate part of UI in an iPad app when the user taps a button. I have this code in my action method. It works in the sense that the UI changes how I expect but it does not animate the changes. It simply immediately changes. I must be missing something: - (IBAction)someAction:(id)sender { UIViewController *aViewControll...

How do I run an iPad emulator ?

I have no real need for the entire SDK, my project involves mainly JS and CSS on an ePub structure. My fiend lend me his MacBook on which I'm typing now. I can create everything on a PC box, import to the MacBook and than test it on the emulator. So - how do I install an iPad emulator on a MacBook ? Thank you for your assistance. ...

Does an app name have to be unique between the iPhone and iPad app store?

If there was an iPhone app called 'gears' could I release a app for iPad called 'gears'? Also, has anyone heard if Apple will move towards limiting unique names to a category so it would be possible e.g. 'gears' the game and 'gears' the productivity app? App naming seems like a dark art. Any pointers to resources on Apple's stance woul...

How do I use a UIView subclass as a container?

I'm trying to subclass UIView to create a custom view that is essentially a container. The subclass contains a UILabel and a UIImageView- I can't make either of them show up. Here's an example of what I've been trying: In my main view controller: - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { if ...

How can I access data that's stored in my App Delegate from my various view controllers?

This question is similar to this other post, but I'm new to iPhone development and I'm getting used to the good practices for organizing my data throughout my app. I understand the ApplicationDelegate object to be the best place to manage data that is global to my app, correct? If so, how can I access data that's stored in my App Deleg...

Moving a UIIMageView outside of a UIScrollView

Hello, At the bottom part of my main UIView, I've an UIScrollView with an UIImageView inside. I'd like to move the UIImageView from the UIScrollView to the top part of my UIView. I'm able to move my UIImageView inside the UIScrollView, but outside, I can't. The UIImageView remains in the UIScrollView, it's parent. Any idea? Thanks i...

UISplitView's DetailView not changing its content

I have an iPad app with a UISplitView. In the Root View I have a two level UITableView (it takes its content from a plist). In the Detail View I have a UIWebView. - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { //Get the dictionary of the selected data source. NSDictionary *dictionary = [s...

How do I use CSS transformations to slide a div on screen?

Hi, My web page has two divs on it, A and B. Div A is visible, Div B is hidden. When the user clicks a link in div A, I want to "slide" div A off screen (leaving via the left edge), and slide div B on screen (entering via the right edge). I've found that jquery animations are very slow on the ipad, so I want to use the webkit CSS anim...

Attaching a static library to an iphone/ipad application

Hello, which is the best approach to include a static library with into an application for iPhone or iPad? I could choose to compile the library supplying right platform and building a library file with the ar utility and then add as a framework to the project including the source of the library .c/.h and compile them together with th...

iPad/iPhone browser crashing when loading images in Javascript

I'm trying to build an image gallery in Safari that mimics the iPad photo app. It works perfectly, except that once I load more than 6MB or so worth of images either by adding them to the DOM or creating new Image objects, new images either stop loading or the browser crashes. This problem is widespread enough (with everyone else hitting...

iPad/iPhone Dev: displayViewController Is Rendering Portrait in Landscape Orientation

-(void)displayFirstScreen { UIViewController *displayViewController=[[UIViewController alloc] init]; displayViewController.view = displaySplash; [self presentModalViewController:displayViewController animated:NO]; [self performSelector:@selector(removeScreen) withObject:nil afterDelay:2.0]; [displayViewController rel...

Resized XIB still full size

Building an iPad app. I have a button on my main view that I want to launch a help window. The help window is fairly involved and has its own xib/controller. I resized the help window's XIB and saved it. I instantiated it and added it to the application controller's views as a modal. For some reason this window is still taking up th...

iphone view controller class - how to

Hello - I need to create my own UIView class and it is not something I have had to do. I created the class, then laid out the small view in IB (it's just a few labels that i will later need to add data to ). but now im stuck on how to actually put an instance of it in my main view. Can someone point me in the direction of a good tutori...

GWT as offline app, to be deployed onto an iPad

I often use GWT for web UIs. I have heard of it being used a fair bit in conjunction with Gears for offline solutions (probably nowadays HTML5 "offline storage" is all the rage) and I'd like to experiment with building a GUI in GWT and use it on my iPad. Tips/tutorials on how to deploy it onto the device to act as much as possible like a...

Double Click and Resize on an Ipad

Thanks to the great post at OranLooney.com I was able to get a java/icefaces web-app to resize nicely on the ipad, however the code provided for double click doesn't seem to work without further customization. Has anybody had any experience with getting this to work? there seems to be little documentation on google. the donnothing(); i...

How to get fast, smooth scrolling with UIWebView?

UIWebView exhibits jerky behavior when scrolling fast through lots of content. Mobile Safari, on the other hand, scrolls quickly and smoothly. It displays a simple checkerboard pattern while scrolling and then renders the page when scrolling is done. How can we get Mobile Safari's fast, smooth scrolling behavior with a UIWebView? ...