Hi!
I'm building an application in the iPhone where the communication with a PHP server is needed (using XML).
I'm able to receive data from the server and I handle the xml file using the NSXML parser.
I haven't found too much documentation about sending data from the iPhone to the server (via XML).
Any idea, links, and examples w...
I have a UIView that displays an image depending on how well the user did on a level, then the user has the options to continue to the next level and once they are finished with that one the UIView displays again with an image depending on how well they did
I release the UIView after the user decides they want to go to the next level an...
I have following code in my application.
[self.navigationController pushViewController:x animated:YES];
It will push a new view to the application.
I want to change the animation time for pushing.
What should I Do?
...
So, I have Push Notifications working fine to my app with Custom Sounds. However, when my iPhone is in silent mode, and I send a push notification with a custom sound, the sound obviously does not play, but there is also no vibration.
If I send a push notification with a sound="chime" or something that doesn't exist like that, the iPho...
Hi there,
Having gone through all the steps of submitting my app to the iStore by the book (and other manuals around), I get a 'not so funny' response after uploading my binary:
'The binary you uploaded was invalid. Fat binaries require a MinimumOSVersion of at least 3.0'
Now, I set the device deplyment to be 2.2.1 and the Base SDK th...
MyController *myViewController = [[MyController alloc] initWithNibName:@"myView" bundle:nil];
The nib file myView.nib has 2 uiimageviews and 2 uilabels. When I first init myViewController, all the 4 subviews are set as 0x0.
The second time I dont get such a behavior.
...
Hi guys,
I have a UIViewController (which sits inside a tabUIController). Within this UIViewController, I want to present a modelviewcontroller when a user clicks on a button. I cannot get this to work. With the code I have (see below) i get to the stage where i press the button but i get the strange error of "unable to read unknown loa...
My problem is that I want to have a tab bar view with its children view controllers shown first. In the children view controllers, depending on what controls are clicked, I either want to A) drill down within the tab bar view (swiping away the child view controller) or B) drill down over the tab bar view (swiping away the tab bar view co...
I have a UIView with a large number of CALayers (~1000), each of which has a small image as its contents. This UIView is a subview of a scrollview (actually it's a subview of another view which is a subview of the scrollview). This draws relatively quickly at first (couple seconds). However when I scroll in the scrollview the frame ra...
Recently I use NSTimer to repeat taking photos, it'll show on the screen.
This is the problem:
I need to execute my app. & taking photos at the same time.
So, does there any way to take photos at background?
I'll appreciate for any opinions~
...
I have tried with setting properties of UIPicker as SetHidden:False and SetVisible:NO , but they are still visible.
...
I'm tired of taking new screenshots everytime I change my UI for my iPhone application. I would like to be able to run a script/program/whatever to load my binary on the simulator and then take a few screenshots.
The solution can be in any language... it doesn't matter to me.
Thanks!
...
Hi,
Anyone know how to programmatically set the z order of UIImageViews? The order of instancing them will bring the last one instanced closest to the screen front, but how can it be changed at runtime?
Thanks // :)
...
I have an iPhone app, and I'm taking a few features of the app and creating a new app.
What's the appropriate way to build two apps from a common code base?
...
Hi, i am developing iphone with the push notification feature. I have tested in the development environment. But, when I released my app to the appStore. The user complaint that the app name does not appear in the notification push setting(setting preferences). I am stuck for days about this issue, please give me some guide.
And, is it ...
Hello thogether
While searching a bug in my code today I found a strange thing. When inspecting a UIView instance in the debugger the variable view of Xcode does not show the subviews member of the UIView class.
I only see this fields in the debugger (> should indicate the opening triangle):
>UIResponder
>_layer
>_tabInfo
>_gestureIn...
Hi,
Everybody i have a requirement where the user when press a UIButton it generate a PDF file for that action.
Any Suggestion.
...
Hey,
I have troubles using a foreign protocol in Objective-C.
Is there any other solution than adding additional Protocols?
Example:
Class1.h
#import "Class2.h"
@protocol Class1Delegate <NSObject>
@required
-(NSArray*) someMethod;
@end
@interface Class1 : NSObject
{
Class2 *variable;
}
...
Class2.h
#impor...
I'd like to play a synthesised sound in an iPhone. Instead of using a pre-recorded sound and using SystemSoundID to play an existing binary, I'd like to synthesise it. Partially, that's because I want to be able to play the sound continuously (e.g. when the user's finger is on the screen) instead of a one-off sound sample.
If I wanted t...
Hi to all!
I dropped 2 days on this problem and can't come out with a solution so:
(I know this wont have much sense but hopefully it will do the trick)
monkey.h
@interface monkey : NSObject {
NSNumber *monkeyRanch;
}
@property (nonatomic, retain) NSNumber *monkeyRanch;
-(id) gatherTheMonkeys:(int)howmany;
monkey.m
@synthesize monk...