Hi
My iPhone app is crashing and getting EXC_BAD_ACCESS error when using this code:
NSError *error;
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); //1
NSString *documentsDirectory = [paths objectAtIndex:0]; //2
NSString *path = [documentsDirectory stringByAppend...
Hi
I have an application already on the store and would like to release an update. Since my app deals with databases and I've had to change some parts of it, I would like to ensure that the update does not affect the existing functionality in any way once the user updates from the App Store.
What I did was this - install the first vers...
I'm developing a iphone app based UITabBarController,when open the app,on the first tab item,
I press a button,to add a label to the view,and I close the app.
Next open,the label which added last time still on the first tab item,I did not save the view
in applicationWillTerminate method,why?
And,if I switch to the second tab item,and r...
I got Error while using UITableView as 'setText:' is deprecated in line cell.text=cellvalue
Please anyone can how to fix this?
- (UITableViewCell *)tableView:(UITableView *)atable cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [atable dequeueReusableCellWithId...
hey everyone,
I have a subview where there is an uitableview that gets data from an online server (title, subtitle and image). When I click the button that shows the subview it takes a little time to get there using WiFi connection, but under 3G network it takes longer, so that you really feel the gap between loading the view and having...
I want to compare two audio files(voice recording) and find whether they are identical or not (to some extent).I have come up with FFT(OouraFFT).I have integrated code and gave my audio file as input and "calculateWelchPeriodogramWithNewSignalSegment" is called.There is a term spectrum data used in "calculateWelchPeriodogramWithNewSig...
I'm about to develop an iPhone app that includes a UIWebView that renders a webpage with a payment-flow.
Does anyone know if Apple has any problems approving an app with a UIWebView that requires typing in your payment details?
...
Hi , i was wondering how can i change the iAd black background image ?
...
Hi,
I'm making a tower defense game and I'm stuck at the multithreading of the pathfinding. If i don't make the pathfinding an NSInvocationOperation then there is an increasing pause in the rendering the more fiends and towers i have.
However i cannot solve the "locking" issue. I get frequent crashes about enumerating my fiend NSMutable...
I'm using AsyncSocket to write a TCP client on iPhone and need to set the Urgent Flag of TCP segments.
How to do it? I can't find relative APIs in CFSocket.
Thanks.
...
I developed an app for iPhone with Xcode 3.2.4 and iOS 4.1. Now I want to test my app on my iPhone, but I don't want to enroll for a developer program. I searched in google and found a lot of tutorials, but they are not working.
Then I asked me if it is because I use iOS 4.1. Is there a way to test the app?
I've a jailbroken iPhone 4 wit...
Is it possible to react directly on a push-notification without waiting for user-input?
(I don't mind if i have to use a private framework)
Is there any alternative to apples version of push-notification?
Can I send polling packages to the iPhone and react to them in background?
...
Hello everyone !
I would like to check used bandwidth when playing a video with MPMoviePlayerController to be able to play a video which matched client bandwidth.
For now, I download a part of my file by using NSURLConnection and I can find bandwidth. But I think it's not a good idea to download more data than expected (and the goal is...
I'm trying to use an NSDate variable captured in another method. After much reading and searching I thought I found the answer on this site: http://www.everydayone.com/2009/08/nsdate-as-global-variable/. I first tried declaring the variables in the AppDelegate.h as specified in the article. The result was 2 failures in theViewController ...
Hi!
I have a UITabBarController which has been created programatically. There are 6 tabs within the tab bar which has forced a more button to appear, which is great and works beautifully!
Whilst testing the app, one of the testers raised a point. When they select the more button, then select one of the options in the more menu, the res...
Hi,
I have a CGPointApplyAffine which is giving me negative values such as -161 for x and -58 for y.
Are these values possible? Or am I using it incorrectly?
CGPoint rotatedCenter = CGPointApplyAffineTransform(subview.center, self.transform);
Thanks!
...
Hi
I've got the image picker working in a popover on the ipad, but when running in the simulator when I select a video in the picker it says its compressing and then gets stuck.
Nothing happens, the delegate function never gets called.
...
I am looking at an example online that contains this code in objective-c
-(void)dealloc {
[activeController viewWillDisappear:NO];
[activeController.view removeFromSuperview];
[activeController viewDidDisappear:NO];
[activeController release];
[super dealloc];
}
I assume the MT equivalent would be Dispose, am...
I'm trying to measure time between taps. I've gathered code from a couple other posts, but still no luck. I running into issues when I'm taking the difference between two time stamps and trying to make it readable in seconds.
// Time elapsed
NSTimeInterval duration = [[NSDate date] timeIntervalSinceDate:touchesBegan];
NSDateForma...
I recently lunched a web site that uses CSS Sprites. It works fine in Firefox 2.0+, Internet Explorer 6+, Safari 3+, Opera 9+ and Chrome 1+, but it looks bad in iPad/iPod/iPhone.
here is a web site http://show.oboz.ua/. It has one sprite image http://show.oboz.ua/css/sprite.png
On IPod it looks far from perfect.
...