My application on iphone quit with following console message when we try to play the animation with 100 images again and again.
Program received signal: “0”.
warning: check_safe_call: could not restore current frame
So i want to know how can i remove this crash. Am I doing anything wrong using animation? Code follows:
catAnimationIma...
How to add UIImagePickerController in UiView in TabBarApplication
...
Hi,
I have 4-5 uibuttons(also can use uiview instead of button) side by side next to each other.
When user moves touch from one button to other(outside of self view), i want to cancel this touch and start touch for the next button(view).
How to achieve this functionality?
I used uiview instead of buttons kept it next to each other, h...
I am on Xcode 3.1.4 and hitting the dreaded ""the executable was signed with invalid entitlements." error.
I am trying to add Entitlement.plist in the BUILD option but I cannot find where to put it.
This option used to exist above the "Code Signing Identity". I think it was called "Code Signing Entitlement" or something.
Is this missi...
hi,
usually the UIAlertview appear at middle of iphone screen but i want to display it bottom of iphone.
How can i do that?
...
This is for an iPhone App, but I don't think that really matters. I need to send a custom object (which is managed by Core Data) over bluetooth using the iPhone's GameKit. Normally, I would just use an NSKeyedArchiver to package up the object as a data object and ship it over the line, then unarchive the object and I'm done. Of course, I...
I have an UIImageView that is being pinched, zoomed, rotated, etc. When the user ends transforming the image he presses the DONE button and I have to figure out how much the object was scaled and rotated.
All I know is the angle and scale of the object before the user started modifying it. Now I need the new angle and scale.
How to do ...
I have written a subclass of UIControl that tracks a number of gestures that are of interest to me. In the documentation for the UIControlEvents enumeration, it says that there is a range of event numbers called UIControlEventApplicationReserved that is "available for application use." Does this mean that I am free to use this range of...
Hi,
I am just entered into iPhone Application Development. I have to start the work on iPhone Application. And i have some Requirements Specification for particular application. Now for a starting phase i want to prepare a Design Document for that application. So, anyone can suggest me what i have to include in any mobile or iPhone Appl...
I have a really standard splash screen, just a simple Default.png, but for whatever reason, no matter what I try, it simply will not load. Is there any way to fix this and/or a way to set a property in tw info.plist to directly call a custom image? Thank you!
...
I am developing an app that uses Core Graphics and Audio Queue Services to generate an image that changes with the input from the iPhone's mic. Some sort of interaction between Core Graphics and Audio Queue Services is killing my frame rate, keeping it at about 10 fps no matter what I do. Profiling with Instruments tells me that my pro...
Debugger is telling me this, when I run my app on device:
Program received signal: “EXC_BAD_ACCESS”.
mi_cmd_stack_list_frames: Not enough frames in stack.
mi_cmd_stack_list_frames: Not enough frames in stack.
I don't get information about where in code that happens. That's all I get. Any idea what that could mean?
The app crashes af...
Is it possible for an iPhone app to read the names of groups/directories/folders within its bundle?
E.g. I have my Resources folder and within that folders named Images1 and Images2. Is there a way for the app to 'discover' Images1 and Images2?
...
The compiler complains about this, after I activated all kind of warnings:
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#endif
warning: #import is a GCC extension
What does that mean?
...
The compiler complains about this, after I activated all kind of warnings:
For MyApp_Prefix.pch the compiler says:
warning: -Wuninitialized is not
supported without -O
What does that mean?
...
The compiler complains about this, after I activated all kind of warnings:
I create an NSNumber like this:
NSNumber *num = [NSNumber numberWithBool:YES];
warning: passing argument 1 of 'numberWithBool:' with different width due to prototype
it complains about the value I provided. What's wrong with "YES"?
What does that mean?
...
The compiler complains about this, after I activated all kind of warnings:
I have an app delegate like this:
#import <UIKit/UIKit.h>
@class MyViewController;
@interface TestAppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *window;
MyViewController *myViewController;
}
@property (nonatomic, retain) IBOutlet UIWindow ...
Hello,
here is a iPhone programming beginner's question:
How do I get to another view by pressing a button in my main view?
I have the following function which is executed when I press a button, and debugging it, he passes there, but my "Warning" view does not show up:
-(IBAction) showWarningView:(id)sender
{
if(self.showWarning ...
Hi guys
My question is very simple :
Is there any solution to install xCode, or equivalent, under unix OS, like ubuntu ?
Indeed, i don't want to buy an expensive macbook to develop my private iPhone applications.
Thanks for your hints.
Martin
...
I have a class with only class methods (utility stuff), so my interface is like:
@interface MyUtils : NSObject {
}
Xcode doesn't like it and says:
warning: struct has no named members
So I have to create a nonsense instance variable? My code works fine, though... I just activated every kind of warning for the compiler.
...