I am having an issue with how the iPhone reuses Cells in table. The problem is that implemented methods of the class also get "reused" and changes in one cell get applied to other cells that were reused. I have a progress indicator that should only be updating in one cell after user interaction, but the progress indicator updates and t...
model no of iphone through code
...
Hi guys,
I am working on a game with many sprites in a layer, and once you touch the sprite, it will do something.
my problem is the z order issue, most of my sprites are overlapping and when you touch the overlapping sprites, the one behind(i think with the lowest z order) react instead of the one in front.
I need to understand more ...
I have successfully cross-compiled the Apache Portable Runtime (APR) for the iPhone, using a set of configure scripts that invoke the GNU Autotools "./configure" with the necessary cross-compilation options.
I am now attempting to cross-compile GNUTLS which depends on libtasn1 and on libgcrypt, which in turn, depends on libgpg-error. Th...
Hi,
I am reading an data from an XML file for my iPhone application. This data contains html tags such as <p></p> <strong> <B>, etc in it. By using NSString class can i remove these tags and format the display of the text as needed.
For example, if text inside the <p> </p> i want to display it in next paragraph. Is it possible?
Pleas...
Tried this, but doesn't work:
ABPeoplePickerNavigationController * people_picker = [[ABPeoplePickerNavigationController alloc] init];
people_picker.peoplePickerDelegate = self;
self.navigationController.navigationItem.leftBarButtonItem = [[[UIBarButtonItem alloc] initWithTitle: @"send"
style: self.navigationController.navigati...
Hi
I am writing raw audio bytes from two files into a new wav file to combine the two files. The resultant file which is created has the contents of both the audio clips but there is also a lot of noise in the file.
Can someone point me to a good example which shows how to write raw audio bytes to a file? Here's the basic logic that I ...
Hello all,
I have submitted my two applications in AppStore. It got approved now and showing in AppStore. If i want to see how many downloads is going on per day, where i can go and see? Can i use my developer account to see or any other place is there?
thanks.
...
Hi all,
I would like to implement a application which backs up all the internal datas like sms, mms, videos, audios, documents, call history stored in iPhone. But this seems to be not possible with api docs that the apple has released so far ... I have gone through the pdf of ENterprise distribution program and some of the links rel...
Hi,
I have a segmented control where the user can select how to order a list. Works fine.
However, I would like that when an already selected segment is tapped, the order gets inverted. I have all the code in place, but I don't know how to register the taps on those segments. It seems the only control event you can use is UIControlEven...
I have an image that is 480x331 and has a transparent background. The transparent part is just around the image's edges. My UIButton is 72x37. When I set the image as a background image in IB for the button, the transparent edges of the image show as white in the button. Without an image, the button is white with rounded corners. I'...
What I can do:
Take a sqlite DB of 100 lat and lng points, and drop those pins on a map. Looks GREAT!
What I would like to do is get my location, BEFORE I draw my map. But it seems that:
(void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation
ALWAYS fir...
Hi,
What is better? I have the prioritized in the order of "goodness", am I correct?
arc4random
randmom
rand
1 - best, 3 - worst
I need a really good randmon number gen for a lowe number (< 50), so I using % 50 to obtain numbers below 50.
Thanks
...
I'm planning to distribute an application ad hoc for beta testing. I have created a provisioning profile for the distribution but it doesn't contain all the devices.
My question is if I need to rebuild the application in XCode if add more devices to the provisioning profile?
Or could I build the app once with the original provisioning p...
Is it possible to troggle between 3g and edge through an app and not closing the app and going to settings?
...
I have a UITableView with custom cells.
I have MyTableViewCell : UITableViewCell and MyTableViewCellContentView : UIView classes.
What I'm doing is basically what is done in the AdvancedTableViewCells demo app from Apple with a slight change, on some rows I want to use a clearColor background to show the table's background behind the pa...
Does anyone knows how to change the iPhone settings from interior of an app? For example: close the WiFi, disable 3G, change the sound volume and so on?
Apple is changing settings trough an app: Settings.app. It means that it's possible, I just don't know how.
...
My goal is to achieve compatibility across 3.x SDK versions for UIImagePickerController and it's allows(Image)Editing property.
// SDK 2.0 to 3.0
myImagePickerController.allowsImageEditing = YES;
// SDK 3.1
myImagePickerController.allowsEditing = YES;
Some research reveals some objective-c approaches, but what is considered best prac...
In objective-c/xcode, is there a way to write the definition of a method in the implementation and have automatically added to the header file?
...
In my app I play a video using this simple code:
NSBundle *bundle = [NSBundle mainBundle];
NSString *moviePath = [bundle pathForResource:@"video" ofType:@"mp4"];
NSURL *movieURL = [[NSURL fileURLWithPath:moviePath] retain];
MPMoviePlayerController *theMovie = [[MPMoviePlayerController alloc] initWithContentURL:movieURL];
theMovi...