How do I read and write XML in Cocoa Touch?
I want to create a file using Objective-C, which stores the data comes from XML. I also have to do basic functions of read and write into that file. How can I do this? ...
I want to create a file using Objective-C, which stores the data comes from XML. I also have to do basic functions of read and write into that file. How can I do this? ...
I have an iPod touch with OS 2.2.1 and an iPhone 3GS with OS 3.0 both attached to my Mac. They both show up in Xcode Organizer. I now would like to be able to select which one of them an application gets installed on when running it from Xcode during testing. Is there any way at all to do this (except unplugging one of the devices, of co...
During the free fall the iphone is supposed to send acceleration values as 0 on all the three axis. So how to detect the distance covered by the iphone? ...
Hi StackOverflowers I am working on an iphone application that displays tiled maps. I am currently using a CATiledLayer in a UIScrollView : MyTiledDelegate *delegate=[[MyTiledDelegate alloc] initWithMapLayer:map]; tileLayer = [CATiledLayer layer]; tileLayer.delegate = delegate; [scrollView.layer addSublayer:tileLaye...
I have 5 views contained in my TabBarController, each view has a navigationController inside of it (Did this all through IB) and for some reason instead of the more tab displaying the 5th tab is shown. I have double-checked that all my nibs are declared and connections are created correctly in IB. In fact, all the views show when i click...
i have a string like this A. rahul VyAs and i want to remove A. and the Space After The A. so that new string would be rahul VyAs how do i achieve this? ...
Hi, I'm using a UITableView to layout content 'pages'. I'm using the headers of the table view to layout certain images etc. and I'd prefer it if they didn't float but stayed static as they do when the style is set to UITableViewStyleGrouped. Other then using UITableViewStyleGrouped, is there a way to do this? I'd like to avoid using gr...
hi i am getting pixalated circle when zooming the view. i did draw a circle using the below code CGContextSetAllowsAntialiasing(theContext, true); CGContextSetShouldAntialias(theContext, true); + CGGradientRef myGradient; CGColorSpaceRef myColorspace; size_t num_locations = 2; CGFloat locations[2] = { 0.0, 0.0 }; CGFloat ...
Is there a way for a UIViewController (inside a navigation stack) to detect whether it is appearing because a drill-down or a drill-up was performed? In viewWillAppear, the UINavigationController's topViewController and visibleViewController are already set to the new ViewController, unfortunately. ...
I am using FBConnect api for integrating facebook with my iPhone app. I can view user details, user friend list and also the events posted by the user in facebook using FQL queries. I want to post the events in facebook from my iPhone app using FQL queries. Though I have wrote my fql query as shown below info=[info stringByAppendingForm...
Does anyone know if its possible to remove the shadow that is placed on the UIWebView window? Example: http://uploadingit.com/files/1173105_olub5/shadow.png If its possible how do you do it? Thanks ...
I'm writing my first iPhone/Cocoa app. It has two table views inside a navigation view. When you touch a row in the first table view, you are taken to the second table view. I would like the second view to display records from the CoreData entities related to the row you touched in the first view. I have the CoreData data showing up fin...
hi all I am having a problem with ad-hoc distribution in iPhone. I have developed an application in sdk 3.0. I have developer's license. I have added certificates and provisioning profiles in my project. So, no problem with that.. But when I try to install the app on my iPhone, it compiles the project and then displays error "The execu...
With iPhone you can dial a number and you can add some other persons to the call using the iPhone-panel (manually). I want to do it automatically. I can dial a number from my native iPhone-Application with: [UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:...."] The native "call" get started and when I finish it,...
Hi all. I seem to be having some issues with building the latest Toolchain for developing for the iPhone. When building llvm-gcc, as per the instructions on the iphone-dev group page, I keep hitting this error: /usr/local/bin/arm-apple-darwin-ld: /usr/local/share/iphone-filesystem/usr/lib/libc.dylib unknown flags (type) of section 4 (__...
I have developed an iPhone App and I want to test this final distribution build before submitting it to the App Store for review. Is there any safe way to make this app to run on a device? ...
HI All i am using the device orientation for some functionality like as in stating the as we run the app it should be in the landscape mode and in this mode if we orientate the phone in 90 angle than it should play some video than problem comes video play by default in the landscape mode but we need it in the portrait mode than for...
I'd like to pretend to be new to CocoaTouch but since I've been using it for over a year I'll just jump right out and claim stoopidity. Is there an easy/elegant way to intercept HTTP calls in CocoaTouch and route them through a custom class. In Java I could implement a custom protocol handler and change the URL protocol from "http:" to s...
Hi, I'm using a navigation controller for my app, because a lot of my views are hierarchical. However, I want to push a settings view when someone presses a button. However, I don't want to animate right to left, since I don't want to give the impression to the user that settings are a child of the view below it in the stack. Is there ...
I have a view controller with a UIWebView controller. I'm trying to get the javascript inside the html content of the web view to pass some information to my objective c code. I came across a number of examples online that set window.location in a javascript function and then catch the event generated by setting the view controller to be...