iphone

Is it possible to anonymously track someone's location via mobile app?

Is it possible to anonymously track someone's location via mobile app? Assuming, of course, that the user consents and downloads an app that can in the background? ...

how to check bundle version for our application by programming?

I have make application and i have installed in iphone.But i want to check my application bundle version by programming.How it possible can you give me advice? ...

how to secure a iphone application from getting illegaly copied or hacked to install on another iphone

Hi, I am new to iphone programming. I heard from few people that even if the iphone application is sold for money from itunes, it is possible to hack the application and install on another phone. How much of this is true ? If true is there a way to programmatically control my application from getting illegally copied to jailbreaked or...

custom backspace button crashes iPhone app

I have a custom keyboard and whenever I touch the backspace button for the first time my app crashes! How can I solve this problem? My code: myText.text = [myText.text substringToIndex:([myText.text length]-1)]; ...

NSDictionary with key => String and Value => c-Style array

I need an NSDictionary which has key in the form of string (@"key1", @"key2") and value in the form of a C-style two-dimensional array (valueArray1,valueArray2) where valueArray1 is defined as : int valueArray1[8][3] = { {25,10,65},{50,30,75},{60,45,80},{75,60,10}, {10,70,80},{90,30,80},{20,15,90},{20,20,15} ...

UITableView not getting populated

Hi. I have a peculiar problem. I created a normal Objective c class called SampleTable. I then extended UITableView instead of NSObject. Then in the initWithFrame constructor i initialized the table. I also made a NSMutableArray object for the datasource. I also conformed UITableViewDelegate and UITableViewDatasource. I have overridden t...

MGTwitterEngine

Hi everyne, I am using mgtwitterEngine to integrate twitter functionality.In my application i want response in XML format so i have done all the changes as metion in readme of mgtwiiter for example i have done #define YAJL_AVAILABLE 0 in MGTwitterEngineGlobalHeader.h and #define USE_LIBXML 1 in MGTwitterEngine.m file and i am che...

how and where should I set and load NSUserDefaults in a utility app?

I have followed directions in several books and suggestions on some forums but I have issues with my app crashing when I try and set user preferences. I have the following lines on my "done" method in my flipscreenViewController: - (IBAction)done { NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults]; [...

how to play video files by using UITableView?

Hi, In my iPhone application I need to show a video image in UITableView. Each tableViewCell have video and some labels. I used the MPMoviePlayerController for showing video in full screen when the cell is selected. But, I am getting error that MPMoviePlayerController class is not there. I tried using UIWebView. But, I could not make it....

How to animate line-drawing in iPhone development?

I have been searching around, but there seems no good answer for this simple question. So I am asking again: how to animate line-drawing in iphone dev? Basically what I want is something like this: @implementation MyUIView - (void) triggerLineDrawing: (CGPathRef) path { ... // animate line drawing here // and the line should ...

How to implement MMS functionality in 3.0 sdk?

Can we implement MMS functionality in our application how it possble.can you give me idea about that? ...

Smooth table view like on iPod.app

Hey folks ;), Im trying to redo the table view in the ipod.app. The one with 2 labels and the cover on the left. I want the same information there. I mean the cover plus all the other MPMediaItem stuff. Everything works fine. I can build the table and get all the information from the music library I need. My only problem is that my tabl...

how can i write an event for segment controller?

i want to write an event for the segment controller.By clicking First Tab i want to perform some calculation and by clicking Second Tab i want to perform some different operation.please help me. ...

setting background image of UIToolBar in iphone

Hi all, I want to set some background image of uitoolbar in my iphone application. Currently i am setting by using the initwithpatternimage method of uicolor. But its not doing what i want. Kindly sujjest some other solution. ...

How to start a project with both outputs iPhone & iPad ?

Using the Pre Release Xcode 3.2.3 I get this as a Startup Project What should I chose / do to great a project that can have both iPad and iPhone as a target (not showing the iPhone App on iPad but a real iPad View)? Thank you. To avoid problems: iPhone OS 3.1.3 is the latest release on iPhone iPhone OS 3.2 is the latest release...

Which class does the animations in a table view cell when the table view enters editing mode?

Is it the UITableViewCell class itself which contains the animation logic for entering editing mode, or does the UITableView class animate the changes in the cell? (like the width of contentView and other things) ...

What's the difference between an highlighted UITableViewCell and an selected UITableViewCell?

What's the difference between an highlighted UITableViewCell and an selected UITableViewCell? For me, both things are the same thing. Where are the differences? ...

iPhone - how to track touches and allow button taps at the same time?

I'm wondering how to track touches anywhere on the iPhone screen and still have UIButtons respond to taps. I subclassed a UIView, made it full screen and the highest view in the hierarchy, and overrode its pointInside:withEvent method. If I return YES, I'm able to track touches anywhere on the screen but the buttons don't respond (likel...

NSXMLParser & memory leaks

Hi, I am parsing an XML file using a custom class that instanciates & uses NSXMLParser. On the first call everything is fine but on the second, third and later calls Instruments show tens of memory leaks on certain lines inside didEndElement, didEndElement and foundCharacters functions. I googled it and found some people having this i...

How to integrate location information into Twitter app?

I'm trying to get a Twitter iPhone app working using Matt Gemmell's MGTwitterEngine. I can post tweets OK, but I can't work out how to attach location data to those tweets... anyone have any idea? ...