ipad

Help Creating multiple views with view controllers

Ok here is what i am trying to do. In my root view controller I have the main view and then inside that view, i have three additional views. (note this is for the ipad). Here is what I want to do. When the root view loads i want it to load the other three views as well and all have their own view controller. Here is what I have attem...

iPad "dismiss keyboard" button (lower right), how do I detect when this occurs? What function tells me it was pressed?

I have an ipad app that when you are in landscape view, the view will move up when the keyboard is brought in. When you press done on the keyboard, textFieldShouldReturn and textFieldShouldEndEditing are called in which case, I move the view down in shouldEndEditing. If the user presses the dismiss keyboard button, the keyboard does poo...

iPad UISplitViewController Launch Orientation - Root View Displayed In Portrait

So I have a UISplitViewController that is the root view of my program. I have set the initial orientation to be LandscapeLeft and have all 4 orientations supported in my plist. If I launch the app in portrait - the view that is shown is my root view not the detail view which obviously is not what I want. As soons as I rotate the device...

<video> works in the iPad, but not on the iPhone

Hello! I'm trying to embed an M4V video, it works on the iPad but not the iPhone. On the iPhone I get a play button crossed over (the can't play button). I am testing this on iPhone 3.0 (Original iPhone). Any help/advice would be great. My code: <video id="sr-video" poster='' controls=""> <source src='http://blip.tv/file/get/FIL...

How to customise a the size of the Master is the SPlitviewcontroller?

My master view is a typical table view. But, the cell content is just to the max 5 letters. I wanted to resize the master in my splitview. Is there a way for us to do it? ...

iPhone:The tabbing on a word playing back the recorded voice

Hi , I want to repeat here a functional: -Tap a Word or Drawing to seek in the audio. -Text and Drawings will highlight at the time they were recorded. Working example: http://www.youtube.com/watch?v=H9e9v_6Buoo Could you help me, how I can make it. Thanks a lot. ...

UITableView in Popover scrolls out of bounds when keyboard is opened

Hi, I have a popover that contains a UITableView. This UITableView has a cell with a text field in it: When the popover opens near the bottom of the screen, and I tap the text field to edit it, the keyboard comes up, and the popover moves up to avoid being covered by the keyboard. But as it moves up, the table view in the popover scr...

UITableView editing accessory view divider color

I have a UITableView with the editingAccessoryType set to UITableViewCellAccessoryDisclosureIndicator. The result is this: It works, but I have a custom background, and therefore a custom separator color. However, the divider between the rearrange control and the accessory is set to the same standard table view separator color. Is the...

What is the Maximum load a UIView in iPad can hold

Hii all... I am here with an important question. Could you please help me to know how much a single uiview can be of size?. I know internal RAM of iPad is 256 MB. But my app crashes after some views are loaded. I had fixed the bugs. But still it happens. I think it is because of the Memeory leak problem. If anyone knows how much size a ...

Problem with Function to convert UNIX TimeStamp

I get those two errors: - Can not use an object as parameter to a method - Incompatible types in return That's my code: - (NSString) dateStringFromUnixTimeStamp:(NSInteger)timeStamp { //Create Date-String from UNIX-Time-Stamp: NSDate *date = [NSDate dateWithTimeIntervalSince1970:timeStamp]; NSDateComponents *monthComponents = [[NSC...

resignFirstResponder not hiding keyboard on textFieldShouldReturn

Hi everyone, I have a view with a UITextField which should hide the keyboard when return is pressed. My function is this: - (BOOL)textFieldShouldReturn:(UITextField *)textField { if ( textField == userPassword ) { [textField resignFirstResponder]; } return YES; } Normally the keyboard should be hidden but it stays on the screen...

UINavigationItem titleView position

I'm using UINavigationItem's titleView property to set a custom UILabel with my desired font size/color. Here's my code: self.headerLabel = [[UILabel alloc] initWithFrame:CGRectMake(0.0, 0.0, 400.0, 44.0)]; self.headerLabel.textAlignment = UITextAlignmentCenter; self.headerLabel.backgroundColor = [UIColor clearColor]; self.headerLabel.f...

IPhone 3, iPhone 4, and iPad orientation handling

I have a view with a tableView and a mapView. In portrait mode, I want the mapView to occupy the top 60% of the screen, and the table view, the bottom 40%. In landscape, I want the mapView to occupy 45% of the screen on the right, and the tableView 55% on the left. Thus, I thought that something like this ought to work: -(void)wi...

iPad Rotation, Any Way To Load Custom View Based On Orientation?

Hello All, Im writing an app that I would like to display different views based on orientation. For example, if the device is portrait load pView, if landscape load lView. Below is the code ive currently tried. - (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation duration:(NSTimeInterval)durat...

iphone UIView subclass not initializing as requested

Hi I am new to objective-c and iPhone development but so far everything was going well til I tried to dig deeper (well not too deep). My problem is that I cannot initialize a specific UIView subclass with a specific coordinates for different orientations. The rotation is working great but the problem is when the app initializes. I was...

How to get a tableview to be the one like in youtube app for iPad?

I want to create an app that looks like the youtube app. I wanna have the tableview on the right or the object at index:1. I tried doing it but the problem is that My tableview is going off the bounds. I cant see the text in them? ...

iPad Browser Simulator ?

Hi ll is there any browser that can simulate the iPad browser and can be run on windows ? thanks ...

iPad app only shows black screen after updating to iOS4 SDK.

I just opened an iPad app I'd been working on and it was working fine, until now. I open it and the screen remains black, even after it's loaded! It's an OpenGL and I just downloaded the iOS4 SDK. I also added a provisioning profile. Would any of these changes result in a completely black screen with no error for no reason at all? It lo...

How to create multi-column text layout for iPad?

Hello, I'm looking for a way to create kind-of an article reader which would have 2-3 columns of text which could occasionally wrap about some image. Just like it's done in "New York Times" or "Wall Street Journal" and other iPad applications. Also, that text should be paged and every page should have UITableView at it's side (just li...

Nav controller works in split view - but only in landscape!

I am in the process of porting an iPhone app to iPad. The layout on the phone is a tab bar with three tabs, two of which contain nav controllers where the user drills down a table view hierarchy. However, on the iPad, navigation works as expected in landscape mode, but it's not possible to drill down the table view hierarchy in portrait...