Hi Guys,
I'm adding a cameraOverlay to my UIImagePickerController, it shows and all but it doesn't register touches. I init a button in the viewDidLoad and a one via IB.
Is there some rule that prohibits me from adding a UIButton to a cameraOverlayView and register touches?
Thanks
...
Hi all! How to disable symbols after dot in double values?
13 + 3.456 = 16.456 GOOD
13 + 1 = 14.00 BAD! I need 14 how can I do It?
I am using NSMutableString.
...
Hi,
I have an application in which I need to hit 2 webservices on a single button action.
-(IBAction)hitAction
{
[webServiceObj hitWebService1];
[webServiceObj hitWebService2];
}
The connection delegates and parser delegates have not been called for the 1st web service.
For 2nd web service all the delegates for connection and pa...
Hey guys.
I'm having this problem for 2 days now and I really don't know what to do anymore.
When I run the iPhone 4 simulator and click a specific picker, the app crashes with the
error: 'NSRangeException', reason:
'* -[NSMutableArray objectAtIndex:]:
index 4294967295 beyond bounds [0 ..
3]'
However, it doesn't happen with...
Hi all,
seems like a quite easy problem but I don't get it.
It have two UIButtons, one is titled 'next' the other is titled 'previous'. Both are linked to the same method. All I wanna do is change the variable 'helpStatus'depending on which button is pressed:
if([sender currentTitle] == @"next"){
helpStatus++;
}
if...
I see a lot of apps that use GPS in the iPhone have the following warning in the App Description:
Warning: Continued use of GPS running in the background can dramatically decrease battery life.
If an App uses the background processes (like startMonitoringSignificantLocationChanges or Region Monitoring) Apple suggested that the battery ...
Hi there!
I have following problem: I've got an UITableView with 7 custom cells. Each of these cells hold a label and an UITextField in it. Since the cells are somewhat big, you have to scroll down to see the last 3 cells. The problem is, as soon as I scroll down, the text in the textfields of the first 3 cells (those, that aren't visibl...
Hello,
I've implemented two different transition techniques to try with my app, one button for each one. I use presentModalViewController:myView for the first button and CATransition on the second.
The ModalView one works but my CATransition has a bug: it slides the entire view a little off screen, as shown in pictures, with a white fr...
My app crashes after playing for more than 30 min on some screen due to low memory will my app get reject due to this?
actually i tried a lot to solve but it shows no trace in instrument i even did all permutation combination of code by commenting checking what causing the problem but i was not successful to solve it yet.
its an ipad ap...
Is there any library with implementation of the Bayeux protocol, for use in iOS (iPhone/iPad) development, for the building Server push technology iPhone client?
And what are your suggestion for doing this?
...
Hi, I want to allow the user to click on a button in "tab A" and have it move to "tab B". Is this possible?
Thanks,
William
...
Hi there
I have a URL like myApp://action/1?parameter=2&secondparameter=3
With the property query I get following part of my URL
parameter=2&secondparameter=3
Is there any way easy to put this in a NSDictionary or an Array?
Thx a lot
...
Hi all,
I have a file open on the iPhone that I am sending the data of across the network (Opened using "_open"). However I have the ability to delete files from the iphone's interface. This is done using NSFileManager's removeItemAtPath.
The odd thing is that removeItemAtPath is succeeding even though the file is currently open.
...
I need to find the specific time a tap happens and then the time since it has passed. I have the app counting taps, I just haven't figured out the time thing.
I tried:
timeStamp = [[NSDate date] timeIntervalSince1970];
but I'm new to obj c and clearly there is a syntax problem.
Thanks for anyhelp.
...
My project has a UIImage category function that I want to call from another class. I properly import the header file for the image category and I get the project to compile with no warning.
The problem is that when I call the uiimage category function I seen an unrecognized selector error with a NSInvalidArgumentException. Why am I seei...
I have three different properties, x, y, z. If they all turn nil, I need to take an action, and if one of them is set to a value != nil, I have to carry out a different action.
My current implementation is the following:
@property (readonly) NSNumber *meta;
+ (NSSet *)keyPathsForValuesAffectingMeta
{
return [NSSet setWithObjects:@"x...
Another question. I have been researching everything this wonderful community has offered me in terms of my journey to pursue game development.
I have come to the conclusion that I would prefer to develop on my native machine, OS X - eventually leading to the iPhone.
I already own both Big Nerd Ranch guide's, Iphone Programming - the ...
This is probably me being a little dim, I am setting up a UITableViewController via a UINavigationController, I have subclassed UITableViewController: (see below) and have implemented the datasource methods to get my table up and running
@interface RootViewController : UITableViewController {
NSArray *dataList;
}
@property(nonatomic...
I have a piece of code similar to this:
//Foo.h
OBJC_EXPORT MyObject *const myObj;
// Foo.m
MyObject *const myObj;
@implementation Foo
+(void) initialize
{
if (self = [Graph class])
{
myObj = [Config get:@"Foo"]; // <--- ERROR! assignment of read-only variable 'Foo'
// ....
}
}
// ....
@end
This ...
I have an array of objects (Users)
each user has an nsset named "devices"
Is it possible to filter so the array returns all users who have a device with a specific name.
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"devices.category==%@", @"mobile"];
myArray = [allUsersArray filteredArrayUsingPredicate:predicate];
...