iphone

How to put a toolbar ontop of a UITableView?

I have a RootViewController that is loading a UITableViewController from an external NIB. I am not sure how I can add a toolbar to the RootViewController so that it appears on top of the UITableViewController? When I drag a UIToolbar onto my screen, it replaces the UITableView ...

How to get a UIScrollView embedded within a UITableCellView to scroll?

I have a scroll view containing several images embedded within a custom cell view, it sometimes scrolls horizontally if I keep holding the cell for a while. I tried a lot of things and it doesn't seem to work, please help? Here's part of the CustomCell : UITableViewCell code: -(void) layoutSubviews { CGRect scrollViewFrame = CGRectMake(...

How do I customize a table view?

Interface Builder Question I know there's a way to change the background color of a table, but is there a way to change the text color? Please Help ...

Value from UISlider method?

Can anyone point me in the right direction regarding sliders, the version below was my first attempt (the range is 0.0 - 100.0) The results I get are not right. // Version 1.0 -(IBAction)sliderMoved:(id)sender { NSLog(@"SliderValue ... %d",(int)[sender value]); } // OUTPUT: // [1845:207] SliderMoved ... -1.991753 // [1845:207] Slid...

How to coordinate animation times on multiple CALayers?

Hi I have two CALayers (*layer1 and *layer2). What I want is to start the animation on layer2 when 50% of the layer1's animation time has elapsed. How can I achieve that? I tried using CAAnimationGroup but that works only for animations in the same layer. I have found a workaround in which you have to add the delayed animation to a grou...

Why we send Push from Server Side ?

Hi, Is there any possiblity to implement Push at iPhone Client if we know the DeviceToken. Why we cannot go for a client side Push Implementation ? And if we have cert as .p12 on client Documents Directory Tharindu. ...

What happens when a fault is "fired"?

What happens when a fault is "fired"? ...

How to access data from one view to another view?

I have an UITabBarController with two tabs: UINavigationController OptionsViewController : UIViewController How can I reach data (ie. UILabel.text) set in OptionsViewController, in a new added modal View which has been invoked from UINavigationController? Edit1: Scenario: After launching app I select the second tab bar called "Opt...

Remove gradient background from UIWebView?

How do remove the gradient from a UIWebView - the one that you see if you overscroll the top or bottom. This code webView.backgroundColor = [UIColor whiteColor]; just changes the color of the gradient, it doesn't removes it. How can this be done? (note: not the same question as http://stackoverflow.com/questions/655225/uiwebview-unde...

long startup time...Need help

My app is all done and working great. So now I ran it on a old iPhone and the app takes 17.3 seconds to start!?!? i spent a lot of time looking into it and i found that the reason it is taking so long to load is i have a lot of views and each view has a png background image. All my views and made in IB and in my code: #import "MyTest...

How Do I Install Core Plot

I need to use core plot in my iphone app. Where do I get it and can someone tell me in plain English in detail how to get it up and running onmy machine? Here is a copy of the ReadMe file sent with the SDK: 1. Copy the CorePlotSDK directory to ~/Library/SDKs/ (WHERE IS THIS FOLDER LOCATED??) 2. Add to your project's .PCH file: #impo...

UITabBarController with viewControllers utilizing different orientations?

Hi I can see that this is something that has been troubling a lot of people:/ I have a UITabBarController that has 4 viewControllers, all of type UINavigationController. One of the navigationControllers gets a viewController pushed onto its stack, this viewController should be presented in landscape mode/orientation. The viewControlle...

Is there a CSS library which mimics the iPhone grouped UITableView?

Is there a CSS library which mimics the iPhone grouped UITableView? I want to build a nice looking table which looks exactly like the grouped UITableView. As there are multiple text styles within the each line of text, and I don't need any interactivity except scrolling, it seems it would be easier to build with HTML and display it in a...

How to remove a Subview from navigationController ?

I added a toolBar with this code: - (void)viewWillAppear:(BOOL)animated { UIBarButtonItem *yesterday = [[UIBarButtonItem alloc]initWithTitle:@"Yesterday" style:UIBarButtonItemStyleBordered target:self action:@selector(yesterday:)]; UIBarButtonItem *today = [[UIB...

How do I add a checkmark to a table view?

I've put in this code: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { UITableViewCell * tableCell = [self.tableView cellForRowAtIndexPath:indexPath]; tableCell.accessoryType = UITableViewCellAccessoryCheckmark; [tableView deselectRowAtIndexPath:(NSIndexPath *)indexPath anim...

iPhone: cornerRadius quality gets degraded

I have a UILabel that I create a radius on the layer, using cornerRadius. The ultimate goal is to make the label look like Apple does in the mail app. It looks great at first, but once you drill down into that row and back a few times, the quality of the rounded edge starts to degrade. You can see in the screen shot, the left side i...

How can I display the camera view in the main window in real time?

I'm trying to make an augmented reality application with a waypoint structure, like Yelp, and I'm wondering how to set up my main view so that it displays the camera view on the whole screen. I've heard of using the UIImagePickerController Class, but I'm unsure how to manipulate the code so that it doesn't actually take a picture, but ju...

Why do I get HTTP Code 414 on one network but not another?

I have an otherwise working iPhone program. A recent change means that it generates some very long URLs (over 4000 characters sometimes) which I know isn't a great idea and I know how to fix -- that's not what I'm asking here. The curious thing is that when I make the connection using a 3G network (Vodafone UK) I get this HTTP "414 Requ...

Autoplay audio files on an iPad with HTML5

I'm trying to get an audio file to autoplay in Safari on an iPad. If I go to the page using Safari on my Mac, it's fine. On the iPad, autoplay does not work. ...

AAC header and other info in IPhone

Hello Everyone, I'm building an IPhone Application that records sound. I'm using Audio Queue Services, and everything works great for recording. The thing is, I'm using AudioFileWritePackets for file writing, and I'm trying to put the same "AAC + ADTS" packets to a network socket. The resulting file is different since some "headers...