Hello, all. I've been scouring the internet, and I haven't found a conclusive answer to this. If you look at the iPad App store (a number of other apps), the Categories tab has (what looks like) a 2-column table view.
One solution I've read using a web view (which I haven't yet explored in depth).
I've tried using subviews within a t...
I would like to hide and show a number of buttons at random which should run in a 30 sec timer.
How is a timer created in objective C?
Thanks
...
Hi !
I'm animating an UIImage view with this code
CABasicAnimation *animation;
animation = [CABasicAnimation animationWithKeyPath:@"transform.rotation"];
animation.duration = 1;
animation.toValue = [NSNumber numberWithFloat:M_PI];
animation.fromValue = [NSNumber numberWithInt:0];
[square.layer addAnimation:anima...
I have a UINavigationController, and I was wondering how I can programmatically tell when it has been pressed?
I am asking because I need to perform some actions when the back button is pressed, and ONLY when the back button is pressed. There are cases when I programmatically press the back button, and I need to ignore those instances....
UIView *stateView = [getSomeUIView thisOne];
CGRect currentFrame = stateView.frame;
if(currentFrame.size.height == 0.0) {
currentFrame.size = CGSizeMake(260, 60);
}
else {
currentFrame.size = CGSizeMake(260, 0);
}
stateView.frame = currentFrame;
I would expect all the subviews would be hidden when the height of the frame is set...
I am writing an iPhone application, and I need to download files in the background. I can handle the download files part, but I am not so sure about the background part. My current idea is to use a run loop to wait until the user selects a file to download. This appears to work, but a run loop exits if no input source is set. However...
I want to make an app like "10,500 cool facts"
Basically, there is some text on background, and then the user will shake, or slide right/left to navigate between the different facts.
I am new to iPhone programming/SDK, so wondering if anyone could help me get started.
How do I implement a shake / slide function?
...
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
UITouch *touch = [touches anyObject];
gestureStartPoint = [touch locationInView:self.view];
NSLog(@"test x:%f",gestureStartPoint.x);
NSLog(@"test y:%f",gestureStartPoint.y);
etc..
Srangely, I'm not receiving any log statements if I click outside a 320x480 fra...
With apple's in-app purchase approval system, is it not possible to have new in-app purchase content available every day? I've read in various places that the process typically takes 1-2 days .. sometimes longer. I know the typical answer to this would be to create a back log, but we're working with time-sensitive content and need it to ...
I should know this by now, but I am still a bit confused. When my app navigates from one view controller to the next (via the navigation controller) I want to "finalize" the data for the current VC before going to the next VC. The only way I see to intercept the "page swap" is in the [old view viewWillDisappear] -> [newView viewWillAppea...
I'm creating a custom progress bar and I've spliced it up into 1px images. If the progress bar were 100px wide then I would need 100 UIImageViews to fill the progress bar. The problem is this very quickly slows the iPhone down. How can I reuse an image view?
Anthony
...
i have this
NSXMLParser *xmlParserf = [[NSXMLParser alloc] initWithContentsOfURL:url];
// NSLog(@"URL%@",urlf);
//Initialize the delegate.
XMLParser *parserf = [[XMLParser alloc] initXMLParser];
[xmlParserf setDelegate:parserf];
//Start parsing the XML file.
BOOL successs = [xmlParserf parse];
[UIAppli...
Hi,
I'm a bit stumped and I'm hoping someone can help me. I've got a plist which is an array of dictionaries. I'm trying to read it into a table. The plist looks like this:
<array>
<dict>
<key>sectionTitle</key>
<string>A</string>
<key>rowData</key>
<array>
<dict>
<key>T...
hi guys, just like in the title, is it possible to do push notification service with adobe flash cs3 ? *sending a push notification via flash to an iPhone, maybe in javascript?
...
I have a UIPickerView object that has five rows that a user can select. I want to return the index of the row that the user selects on IBAction. When my method is called, I can return the text of the value of what the user selected with this code:
NSString * userChoice = [self pickerView:picker titleForRow:[picker selectedRowInComponent...
Recently, an app was released on the AppStore that secretly allowed wifi-tethering from your iPhone. It quickly got pulled by Apple. Out of curiosity, are there any libraries for the iPhone SDK that helps developers write an application that does the same thing? I'm assuming you can deploy the app to your iPhone for testing purposes with...
I'm getting this warning message from iAd when I click on the Test Advertisement. My app only support Portrait.
The view controller
returned NO from
-shouldAutorotateToInterfaceOrientation:
for all interface orientations. It
should support at least one
orientation.
Has anyone come across this warning and how do I get r...
If i wanted to test an app with push notification service, does it have to be approved in the app store?
...
I have managed to get GPS tag from a jpeg file using the GOOGLE-EXIF(http://code.google.com/p/iphone-exif/)
But, when I test my program on a device with OS 4.0, I found all the camera roll's photos are stored in a .THM format. I cannot get the GPS tag from those files.
How can I get all the original JPG files, if there is not a origina...
Hi -
I am having a problem with memory I cant get straightened out. What I am doing is this:
I have a viewcontroller that looks similar to a book with 7 different tabs. Each time the user presses a tab, the content on the "page" changes and the background image changes to reflect the different tab selected. Each background image is 768...