what [popViewControllerAnimated ]; do ?
hi guys .. what popViewControllerAnimated on the iphone SDK do ? ...
hi guys .. what popViewControllerAnimated on the iphone SDK do ? ...
When I set NSZombieEnabled = Yes nothing is written to the console. How can I fix this? Or can you advise me any other tools for an EXC_BAD_ACCESS? ...
hi all, in my database i store the student information in encrypted form. now i want to perform the search to list all student which name is start with "something" or contains "something" anybody have idea that how can perform this type of query? Please suggest ...
Hello, I´m writing an program that uses twitter. I want that my app shows an UIAlertView when the user presses on the "Tweet"-Button and the username or password is wrong. For my Twitterfunction I use the TwitterRequest.m/h from Brandon Trebitowski. If everthing works great and the username/password is right, this happens in my app: ...
hi friends... i added one UIScrollView in my project... and i added 10 more button "fieldButton" once, then the same UIScrollView i want add ather 5 button. it i try to do this first added 10 button also coming in the scrollview .. how to remove first added 10 button befor adding other item. in the same scrollview... if(a == 1){ fo...
We are trying to write a training manual application for the iPhone. On the top half of the screen is a diagram of a car engine, on the bottom half is some text. At the user repeatedly hits a "next" button, we highlight different parts of the engine, and in concert we highlight different parts of the descriptive text below. We basically...
Hello Guys, i'm developing an app that requires caching web pages (completely) along with their CSS files and images. so after saving the entire Html of the page ( going through the links to store each file along with the Html file ) later on, while viewing the html file offline, UIWebView takes a long time to load the page, given tha...
Hello! I have a JSON String which I transform to a NSDictionary, and the I get the values for the key "people" to a NSDictionary: NSDictionary *testDict = [jsonString JSONValue]; NSDictionary *peopleDict = [testDict objectForKey:@"people"]; A NSLog of peopleDict NSLog(@"%@", peopleDict); return me the following: { 0 = { i...
If I set the Base + Active SDK of an iPhone app to 3.0 and the Deployment Target to 2.2, can I use the new versions of functions on 2.2 devices? For example, UITableViewCell now requires an image to be set using [cell.imageView setImage:image], whereas in 2.2, you'd call [cell setImage:image]. Will using the new [cell.imageView setImage...
Hi all, i have encountered a problem when wanting to pass a NSMutableArray from the delegate to a tableview controller and then reload it's data, I need to do this because i have my socket in the delegate and when it receives data it returns a NSMutableArray which is supposed to be the data for the tableview, unfortunately it passes nil ...
I have a database db.sqlite3, i have copy-pasted it into the documents folder and use the code to access it inside the program. [[[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,YES) objectAtIndex:0] stringByAppendingPathComponent:kDbName] UTF8String]. And I am able to use it while my app works in simulato...
I'm trying to set up unit testing for my iPhone application. I followed the Apple Unit Testing documentation through and that woked fine, but as soon as I added another class in to that test, I get the following error: "_OBJC_CLASS_$_RootViewController", referenced from: __objc_classrefs__DATA@0 in AppDelegateTests.o ld: symbol(...
Hi, Does anyone know how to fetch some results sorting them alphabetically but ignoring case? ...
I am working on an iPhone application and need to make sure the entered text is composed of only a to z and numbers. I don't want the user to use other languages letters like those with accents or dots above them. EDIT: I am new to this RegEx, so if you please give me a code or a link, i will be really thankful. ...
I'd like to change the appearance of a cell when the user tap the drag handle. I searched in the documentation, the forums and google, but I can't find a method or an event that say when the drag icon is pressed. Any help will be appreciated! Thanks ...
hi, i'm using a default style table (UITableViewCellStyleSubtitle) i want to add more then one detailTextLabel in each row, how can i customize it? code: UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleSubt...
This' my code in which I'm trying to change the size of my imageView. If you can point out any error, I'll be really grateful.. UIImageView *imageViewForAnimation = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"ravan.jpg"]]; imageViewForAnimation.alpha = 1.0f; CGSize size1=CGSizeMake(60,60); CGSize size2=CGSiz...
I'm using the following to play an m4a file: NSString *path = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent: fileName]; SystemSoundID soundID; NSURL *filePath = [NSURL fileURLWithPath:path isDirectory:NO]; AudioServicesCreateSystemSoundID((CFURLRef)filePath, &soundID); AudioServicesPlaySystemSound(soundID); It w...
I want to save a boolean into a file and also I want to know how you would retrieve it again. I mainly want to use this for when the iPhone terminates and finishes launching in their respected methods. ...
I want to add effects to a sound using the AVAudioPlayer framework. Such effects as echo, pitch change, speed, etc. How would I do this. ...