ipad

determine ipad device

I am writing a universal app for both iphone and ipad. How do I determine if the device is an iPad. I have used this link to determine the iPhone type (3G, 3GS). http://stackoverflow.com/questions/448162/determine-device-iphone-ipod-touch-with-iphone-sdk ...

White UITabBar icons needed

Hi, I've written a green UITabBar, but the problem I've got now is that the icons have still the same color and you can't see them very good. Is there any solution to change the color of the icons? Or add my own subview with image inside? Thanks for help ...

iPad universal app has method with 'not found in protocol' warning, but it works

My iPad universal app has a method I implemented from here: http://stackoverflow.com/questions/2862140/best-way-to-programmatically-detect-ipad-iphone-hardware -(BOOL)isPad { BOOL isPad; NSRange range = [[[UIDevice currentDevice] model] rangeOfString:@"iPad"]; if(range.location==NSNotFound) isPad=NO; else isPad=YES; return is...

unable to launch app on ipad simulator in sdk 3.2.3

Hello all i have an xcode project built from sdk 3.2.2 for ipad and iPhone. I have sdk 3.2.3. in my system when i run that project in 3.2 configuration the app launches in iPhone mode. While it should have launched in iPad mode. By analyzing the classes i came to know that there is only one appDelegate while in 3.2.3 in the universal app...

UISegmented Contol set to Momentary Handler

This is probably a really simple question but I can't seem to find anything in the APIs or across any search engine. I have a Segmented control that i have set to momentary as a user will select a couple of makes of a car that they want to search for. The issue that I'm running into is that I can't seem to figure out how to recognize wh...

How to use multiple peers with GameKit on iPad with iPhones?

If I am developing an iPad app (the "Server") which needs to communicate with up to 4 iPhone/iPod Touches (the Clients) how can I manage this? The two apps will be separate. 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 othe...

amount of video on iPad and iPhone

If I am not wrong, Apple imposes a limit of 200 mb on the size applications can have. I am planning to include some videos in one of my apps and the videos include several large segments of 10 or 20 minutes. If I encode these videos for ipad (720p) and for iPhone 4 (1024x768) do you guys have an idea of how much space a minute using one...

Iphone to Ipad porting-only top left usable

So I'm trying to port an existing iphone application to the ipad. When I run the targeted device set to ipad, only the top left corner of the screen is usable, (the size of the iphone). However, all table cells, objects and buttons exted out to the width of the ipad. But that area is not responsive. What am I doing wrong? I also tried a...

iPad app UI design questions

The interface of my iPad app has multiple section boxes (looks similar to this stackoverflow page). I'm new to xcode and iOS programming but have years of web development experience. I would like to know what is the best way to design this. Should I put everything in one xib file? (section1headerlabel, section1text1,section1text2..) ...

If I want to write an iPad app, do I have to buy an iPad?

To program for the iPhone, you need an iPhone. That's because you have to compile the final version of the app on the iPhone hardware. Do you also need an iPad when you program for the iPad? Or will an iPhone also do the job? ...

iPad Play HTML5 Audio from dynamic source (servlet/jsp)

I'm trying to use the HTML5 tag on the iPad. It works fine if the source is set to a hard-coded file: <audio src="http://...../myFile.wav"&gt;&lt;/audio&gt; ...but if I set the URL to a servlet or ASP.net page it refuses to play it! <audio src="http://...../myDynamicHandler.ashx?audioId=123"&gt;&lt;/audio&gt; Any ideas? ...

Swiping a row in a tableview, clicking other, selects swiped.

Hey guys, I have a tableview, and whenever I swipe a row in section A and after that select a row in section B, it thinks I selected the swiped row in section A! I placed a breakpoint to verify and am 100% sure that it thinks it's that cell AND that it calls it when I select the row in section B. By swipe I mean that you place your fi...

iPad - set text to a button programatically

Hi... so I'm new to this iPad business, and I'm creating some buttons inside a scrollview programatically based on the contents of an XML file. I have this code on a for: float x = (SLIDER_ELEMENT_HEIGHT * i) + 20; CGRect frame = CGRectMake(x, 0, SLIDER_ELEMENT_WIDTH, SLIDER_ELEMENT_HEIGHT); UIButton *button = [[UIButton alloc] initWith...

How to use image picker in iPad ?

I know how to use image picker in iPhone , although know need to use new class UIPopoverController in iPad, but still can not figure out one way to use image pickr in iPad, any one has the same problem ? thanks ...

How can I use class_getProperty in iPad?(Not simulator)

I'm using class_getProperty() in my iPad app(I imported objc/objc-runtime.h). And it works successfully on iPad simulator. But when I tried to run it on my iPad, Xcode said "objc/objc-runtime.h: No such file or directory" and "warning: implicit declaration of function 'class_getProperty'". So it didn't works. Please help me. ...

iPhone/iPad URL Custom Scheme to open a file

Hi I'm trying to intercept some kind of files while using iPad's Safari browser. As you probably know, Safari can't download files, so it would be useful Safari to send my app those files links. As I've read in the iPhone/iPad developer documentation, you can add an URL Custom Scheme to handle some special protocols (like youtube: or t...

multiple views on the ipad

hey I'm a complete noob working on an iPad App. I need to understand how I can make a tableview within the main view. The tableview takes up 1/4 of the screen and the remaining screen has labels and text boxes from the main view. I can't use the SplitView. Could anyone point me in the right direction. I've been googling for a couple of ...

how to see current wallpaper as a background for iPad application

There are some iPad applications that show a current wallpaper through their windows. How do they do it? Thanks ...

iPad css orientation

Hi guys, i want to test the orientation by using css for ipad.This is the css file i use @media only screen and (device-width:768px) and(orientation:portrait) { body { background: green; } } @media only screen and (device-width:768px) and(orientation:landscape) { body { background: red; } } I am not sure whether this will work or not...

Adding UIViewControllers to a UIScrollView

Right, this may not be possible but maybe it it... I have 3 UIViewControllers, each with their own XIB files which contain the layout for each slide of a presentation (each slide will contain video, images, other interactive elements). I have hooked them all up to a UIScrollView by adding them one by one, see below: page1 *vc = [[page1...