Can someone tell me what the stuff in the [] is supposed to be in the log message below? I got this on my iphone app, and I have no idea where the message is coming from. My first guess would be a line number, but which file would it be in?
2010-10-19 08:56:12.006 Encore[376:6907]
Thanks
...
Hi, I need to be able to have AVCaptureVideoDataOutput and AVCaptureMovieFileOutput working at the same time. The below code works, however, the video recording does not. The didFinishRecordingToOutputFileAtURL delegate is called directly after startRecordingToOutputFileURL is called. Now if i remove AVCaptureVideoDataOutput from the
AV...
If I have several buttons that launches the same popovers, how can I dismiss the an already visible popover before displaying the new one?
I have a local variable self.popover that is set to the current popovercontroller; i check this popover variable to see if it is visible; if it is visible then I dismiss it and then present the new o...
in case displayFPS = NO doesn't work rotation:
- (void)ccTouchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
{
id rotationAction = [CCRotateTo actionWithDuration:duration angle:angle];
[_firstSprite runAction:rotationAction];
}
but it works, when displayFPS = YES.
seems fantastic, but..
...
I have a tableview inside a viewcontroller I would like to edit/delete rows. It is not inside a navigation controller. I have a button set up to call this method:
-(IBAction)setEditingStyleOfTable{
[favsTable setEditing:TRUE animated:TRUE];
}
The editing buttons appear in my cells correctly, either by tapping that button or swipin...
Hello stack overflow,
So I have a problem and know exactly what is causing it, just not how to fix it. Basically I have a tableViewCell that is loading something like this:
BroadcastTableViewCell *cell = (BroadcastTableViewCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];
/*
* Other code to finish cell setup
*
*...
If I am not wrong, iPhone Voicemail Greeting is stored on AT&t voicemail servers. We are planning to design an iPhone app (for NON-JAILBROKEN phones) to upload a music file (.amr format) to set user's voicemail greeting.
Is there some kind of webservice or a protocol available to connect to AT&T voice mail server to do so? (iPhone's Pho...
Dear All,
I am having an application in which I am having SQlite database too ..If I delete that Application accidentally. Is there any way to get back the same application with the same database.
Or Is there any way to keep database alone in a separate place inside iPhone memory so that we can recover after application delete if neede...
Hi,
I'm writing some automation .js file, and I need to tap one of my accessoryButton from one cell.
How can I send the tap message to it ?
This is a custom cell, but the accessoryButton is added by iOS, not by me, and I don't know wich name it has.
Also in the docs I couldn't find anything ...
I have the cell referenced correcly as...
Hi guys,
I would like to put an image (a guide so people can frame the picture correctly) in front of the camera preview of the UIImagePickerController.
How would I do that ?
thanks
Louis
...
I have a construction that works well in all browsers except iPhone Safari, it sticks to left side though it's not supposed to.
.home{width: 980px; margin: 0px auto 0px auto;}
any advice?
...
Hi guys.
I created a subclass of an UIView called smartView.
Then I created a NSInteger parameter viewID.
Now in the IB I change the class of a standard UIView to my smartView.
My question is how can I supply a value for my viewID parameter in IB?
Is it possible? If not, is there another way besides "Tag" parameter to give a UIView...
Hi,
i want to use a function for image recognition
i dont want to make an algorithm.
please suggest me a function where i could compare two images and tell whether these images belong to the same object.
please help me!.
...
Hi there.
When I first bring up an MKMapView my app seems to pause while it loads. I am assuming this is because it doesn't load asynchronously.
Is there any way I can get around this. While it loads you can't switch tabs or do anything.
Thanks
EDIT: here is my viewDidLoad method:
CGRect bounds = self.view.bounds;
mapView = [[MK...
IS it possible to change color of image from code ?
...
I am dynamically creating a UIViewController called "MainController" in a Cocos2d application. My nib file contains nothing and I am adding the ADBannerView dynamically as shown in the code below:
MainViewController *controller = [[MainViewController alloc] init];
controller.view.frame = CGRectMake(0,winSize.height-50 , 320, 50);
...
I am working on a universal app. When I want to run it on the iPad simulator, I set the executable to the iPad version, and it runs on that simulator, no problem.
But whenever I restart Xcode, or even just close and reopen the project, it switches back to the iPhone executable. I can switch it back again, but it's still annoying. Is ...
1) What is the reason for the use of retain?
For example, in a setter method:
- (void) setCount: (int) input {
[intCount autorelease];
intCount = [input retain];
}
2) the autorelease-Method: Is it deleting an old object or preparing the new one?
3) Why the retain-method is called at the input-object?
Would
intCount = inpu...
Hi,
I know that question has been asked many times (for example : http://stackoverflow.com/questions/3450639/how-to-resize-tttablesubtitleitemcell), but I never found a simple answer to it : is there simple way to set the row height of a TTTableView ?
I really need to do this and I can't find any way to achieve it.
Thanks in advance
...
I need help with a problem I cant seem to solve.
I have a viewcontroller(view1) which I show by presenting it.
This view(view1) has a button on it, which when selected, presents another viewController(view 2).
View 2 has a few buttons, when one is selected it opens a new viewController(view3).
Now the thing is, when a button is sele...