iphone

insert UIVIewController2 into UIViewController1 why UIViewController2 does not respond my touch?

i have create ViewController1 and ViewController2 and link view of ViewController2 to load in ViewController1 with Interface Builder it show ViewController2 correctly but it does not respond my touch ? how to fix it? ...

gif image as a background

Hi all, can we use a gif image as a background? i want to set an gif image as a background, like some birds flying .... can we use gif image to set as background.??? if yes than how? thanks and regards ...

iphone xml parses text but no images or paragraph spacing

i am trying to parse an xml blog found here: http://www.feed43.com/1515171705611023.xml it has pictures within the text. I am able to parse the headers, the content and the link of the individual posts. I, however, cannot get it to parse the paragraph spacing links within the text or images. all three of these are EXTREMELY important....

A question related to XIB file

what's the difference beetween XIB and NIB file?????? ...

iPhone/iPad Custom menu on selection in UIWebView

I want to modify the default options to just Copy and Highlight. I looked through the documentation for UIMenuController but still couldn't figure out. I'm new and learning. Please point me to the right path. ...

Video stretched on iphone. How to loop movie.

Hi, I have over 1000 flv clips for education market on server side. Each clips plays for less than 3-4sec. 192x144 frame size. They play on infinite loop. Users access clips via web only - after logging into their account. Our clients now wish to access them via iphone and similar. I will convert to mp4 for this to occur. Issue ...

UINavigationController Offset

Hey, I have a UINavigationController which appears at an offset of 20px. This is the exact problem I'm having: http://forums.macrumors.com/showthread.php?t=761616 But I can't seem to figure out what the right way to solve it is. Thanks, ...

ffmpeg conversion of caf file with iLBC codec

Hi, I am trying to convert a caf file recorded on the iPhone with iLBC codec. Is this possible at all? This is what I am trying: ffmpeg -y -i 300087544.caf -ab 8k out2.mp3 FFmpeg version SVN-r24068, Copyright (c) 2000-2010 the FFmpeg developers built on Jul 6 2010 11:43:15 with gcc 4.2.1 (Apple Inc. build 5664) configuration: --...

Application crashes at AudioToolbox thread on a stressed iPod Touch, fw 3.1.3

Hello all, I encountered an AudioToolbox crash in my application. Here's the crash log, http://paste.uni.cc/20775 And I'm using AudioToolbox + OpenAL to play music (m4a) and sound (wav). It happens only on stressed device. So I can't tell what's wrong with it. The crash log didn't report not enough memory, but instead of that, ...

Does jQuery preserve touch events properties?

While this code produces the expected behavior of "1" when touching the screen: document.getElementById('someNodeId').addEventListener('touchmove', touch, true); function touch(evt) { evt.preventDefault(); alert(evt.changedTouches.length); } the same code using a jQuery selector: $('#someNodeId').bind('touchmove', touch)...

Objetive C invalid objects

Hi All, Can any one guide me with invalid objects created in objective C. I am working on iPhone SDK. I see invalid objects created in the application which crashes the application. Here is a screen shot of how it looks like where as in the log I get Program received signal: “EXC_BAD_ACCESS”. I require help with the follows. Ho...

pedometer app in iphone

how to make timer counter zero in this particular code when I click on the reset button the values must go to 00:00:00 and when i click on start button timer should be start from starting please help out code here this in the .h file code -(void)start { timer1 = [NSTimer scheduledTimerWithTimeInterval:(.01) target:self selector:@...

Getting memory leak at NSURL connection in Iphone sdk.

Hi guys, Here Im getting leak at the NSURL connection in my libxml parser can anyone tell how to resolve it. The code where leak generates is: - (BOOL)parseWithLibXML2Parser { BOOL success = NO; ZohoAppDelegate *appDelegate = (ZohoAppDelegate*) [ [UIApplication sharedApplication] delegate]; NSString* curl; if ([cName length] == 0) { ...

CLLocation Manager Delegate is not getting called in iPhone OS 4.0.

I have to run my app in iPhone OS 4.0. (in simulator). -(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [self newLocationUpdate]; } -(void)newLocationUpdate { locationManager = [[CLLocationManager alloc] init]; locationManager.delegate = self; [locationManag...

pedometer application

i am try to making a timer counter in my application but i did't get right ans i succes to make timer counter but i dont know how to start timer with accelerometer i wan't when i take steps then my timer should run or when i stop then my timer should stop i have steps counter with the help of acceleration hardware this is my tim...

Autorelease and release function

what's the difference beetween Autorelease and release function. ??can u give me example of autorelease function. ...

iPhone: how to send email from iPhone withouth use MFMailComposeViewController Class ?

does it possible to send email without use MFMailComposeViewController Class that provide by Apple ? whether app will accept this type app ? if it is no problem to publish , which open source lib code can be use for this purpose ? thanks for your help or tip . Regards ...

NSObject default constructor

Hi all, The default constructor of NSObject is this? -(id)init { return self; } thanks! ...

How to use multi-customized UITableCell in just one UITableView

Dear all, I am developing an iphone application which have a complicated view is to display stocks information with 3 sections: - Extended quote which include a chart and stock info (id, price...) - Other quote info - News (headline) They are should be grouped and user can click on its header to expand or collapse the content. As I kn...

How to have a user-movable MKPlacemark?

I would like to emulate the 'Drop Pin' feature in the Maps application. I have a mapview in my controller that I am able to add a MKPlacemark to. It doesn't respond to user action though. Can I emulate the dropped pin with stock classes or do I need to subclass an MKAnnotation View? EDIT2: Here's the code I'm trying, which I think shou...