I'm using a UISegmentedControl 2 times in my app. Both use the following settings...
[segmentedControl setSegmentedControlStyle:UISegmentedControlStyleBar];
[segmentedControl setTintColor:[UIColor darkGrayColor]];
The 1st appears on a navigation bar and works as expected, i.e. the selected control displays white text and the other co...
I have an object that can be moved across the screen with the finger. This object is an image, a small image, like a thumbnail.
On the screen I have a background image where 10 rectangles were drawn. This rectangles are part of the background image. The background image is dumb, just a UIImageView.
I have 10 sounds I want to play every...
I've wasted so much time on this and so I'm now begging for some help. Basically, I've tried to set up in app purchases on a test app before I implement them into a proper app that my company are working on. I've read the Store kit pdf and other snippets about a 1000 times, but the products are still being returned as empty. Here's exact...
Hi,
I a bit overwhelmed with all of the sample code I've seen on the apple dev site.
I'm looking for a simple example to show me how to load an xml file from a server into iphone.
I would like to read url's from this xml file and load an image.
...
I have a TestData.plist stored in the resource folder and when the content is displayed in the textview i want it to be editable in a sense that user can edit and save the text on textview to the same TestData.plist file. what is the best way to do it?I am a total noob in iphone dev. Need help please..
...
Hello,
What is the best way to see if a song exists in the iPod library? I am currently doing the following:
MPMediaQuery *query = [[MPMediaQuery alloc] init];
[query addFilterPredicate: [MPMediaPropertyPredicate
predicateWithValue: artist
forProperty: MPMediaItemPropertyArt...
Hi everyone!
I'm just a beginner at Objective-C and its syntax is just knocking me out of my mind.
I'm 'trying' to work on iphone 3.0.
Up till know I have learned that:
there is .h file which contains the
declaration for every class; like we
have in C++ where we can declare the
name of the variables/data_fields
and later define the...
I have a NSMutableArray with 30 dictionaries inside of it. Each contains a name and a value. I currently have the names sorted so that the show in a table view alphabetically. However, I'd like to make a UIButton to give the option of STILL DISPLAYING THE NAMES, but ordered by the value. The value doesn't need to be displayed. Also, whe...
I have drawn a uiimage on a cgcontext
CGContextDrawImage(tempContext, CGRectMake(0,0,myRect.size.width,myRect.size.height), imgRef);
but once user is done with the current image, i want to clear the tempContext so that I can rescale / manipulate the image and redraw it on the same context.
for this i want to clear the the context and...
I noticed that NSHomeDirectory returns a different path each time i restart the App with Xcode, and apparently even if i click the icon manually since it doesn't load the file's contents. I'm stunned that it gives me a different directory each time i restart the app. This happens on both simulator and device and even if i use the "ForUse...
I have a UITableView with several cells. This table is to be scrolled vertically. So, vertical finger swipes will scroll the table.
Normally an horizontal finger swipe on a table will present an option to delete that cell, like it is on mail.
I would like to detect horizontal finger swipes on a cell and use this to trigger a method tha...
I followed Apple tutorial, Apple - QuickTime - Tutorials - Reference Movies, to create reference movie in my web site. In summary, "A reference movie contains pointers to alternate data rate movies--that is, multiple versions of the movie designed for downloading at various data rates".
In my app, I use MPMoviePlayer and provide it wit...
I have found many apps where you can press a button or something similar and the application will terminate and bring you back to the home screen. How would I do this?
...
Hello Everyone,
Hope you all are fine and also in one of your best of moods!!
I have an issue with PDF page displaying.
I am able to display one page of PDF file, I have learn and do this same as given in Quartz Demo Application.
But I want to have functionality of Move o next page, Move to last page, Move to first Page, Move to pre...
how i can connect my iphone application with facebook for register the user?
please help...
...
I have placed a UISearchBar in my UITableView.tableHeaderView. However it covers the searchBar by placing the viewable top to the first section header. I can only see the searchBar when I drag the tableView down. It is half covered and then can not be selected because releasing the tableView scrolling will rubber band it back out of view...
I need to restart a download automatically when a connection goes down and then comes back up.
Actually I'm using the Reachability class example from Apple but I have a problem when the switch down and up wi-fi application restarts the download, but this does not happen if I have wi-fi but not an internet connection.
To do this I check...
How would I go about starting my application with a video like Gameloft does with their opening video?
...
Okay. In Xcode, I want my application to run a line of code once the UISlider gets to 1.00 or the end of the slider. How would I do this?
...
I've checked the other answers but have not found anything that really describes my situation. So here goes.
I have a window-based app that creates and loads a UIViewController from xib. It has status bar disabled, height of 480 and a UISegmentedControl with y origin of 451. It displays nicely at the bottom of the screen.*
In viewDidLo...