iphone

What's the difference between formal and informal protocols in Objective-C?

What's the difference between formal and informal protocols in Objective-C? ...

Play sound on a touch event??

i am using the following code to play a sound when user touches anywhere at the screen but whenever i test it no sound is played and also when i use the same code on a button it plays on the second click on the button not on the first click?? - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { UITouch *touch = [touche...

iphone webview show html with images and css file

I found some interesting URL http://cubiq.org/rotating-wheel-for-your-iphone-webapps which has rotational menu. Its good. It has html file along with images, css files etc. In iPhone app, I copied (to root folder) all the files and imported to project. I'm using UIWebView's load request to load the html. But I'm not getting the rotatable...

A question related to popviewcontrolleraminated yes

[self.navigationcontroller popviewcontrolleranimated:YES]; I'm getting bad access for action of back button. though my view is pushed properly UIViewCOntroller *viewcontroller = [[UIViewController alloc]initWithNibName:@"Controller"]; [self.navigationcontroller pushviewcontrolleranimated:YES]; [viewcontroller release]; ...

iphone, uiwebview with JS (google maps API)

Hi all, two question for you: reading google documentation i've make an html with the JS for make a google maps api call. I've put this file in my project, and in a TABView i read and render this file in a uiwebview. Works great but every time i start my app and go to this view i got this message: "appleweb://someID want to use your cur...

Querying dates in NSPredicate doesn't seem right: not able to match future dates

I have some XML data retrieved from a web service that I use to create NSManagedObjects and store in a sqlite3 backing store. In my app, I'm using NSPredicate objects to query this data by date (along with other fields). The data I have has records for every day from April 2009 through August 2010 (according to the raw XML I retrieved ...

how to use cellular network for getting data from URL in xcode

Hai to all In general cases if we want to get the data from any URL ,using internet or Wi-fi we will hit the url and parse that data and use it. But in the application what I am doing, I need to use pdp_ip0 cellular network only even though the wi=fi is available. So ,could any one help me how to use cellular n/w. Thank you all. ...

drag an image from uitableview

hi frnds, i am new to this iphone development, in an uiview i have a tableview, in each cell of tableview, i have an image. is it possible to drag or move an images which are in cells, to pos 1 from pos 2 as shown below. |--------------------------| | | | | ui |table(image) | | |view |...

How to implement pause/resume in cocos2d game ?

My question is to look for design solution for pause/resume states (including all data info, which need save ) during cocos2d game. Including following cases, but not limited: 1). User choose quit, then pop out one dialog for user to choose " quit directly", " pause " ; 2). Someone call in , pop out dialog for user to choose "quit " o...

Play a video inside a view using MPMoviePlayerController?

I am trying to play video inside a view so I can move it around, perform layout together with other views, but I can't seem to get it work to using MPMoviePlayerController. I came across this link on how to play video in portrait mode but this is not possible because the video source is coming from the web and should be playable in diff...

How send mail without using MFmailViewController pop up view ?

Hello All I am New to iPhone developer i dont know how to add this application . ...

iPhone crash log appears to have crashed in [UIApplication run]

I just downloaded the crash logs for my app from iTunes connect and there are 6 of the same crashes that I do not understand. Here is what I think is the important part of the log (let me know if there is another part I should be looking at): Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x00000000, 0x00000000 Crashed Thread: ...

iphone app - dynamic functionality allowed?

I re-framed this question from before to be a little simpler: Is it allowed to have dynamic functionality in your iphone app i.e. connect to our servers and see what functionality should be downloaded and run on this instance of the app for a specific customer? Please ask questions if you don't understand what we are after here. Thanks...

iPhone SDK Zoom/Resize Image with 2 fingers!! HELP

Help, i need to make an app that has got some images and you need to resize them on the screen!! But how can i resize them with 2 finger dragging? Help me please! Thanks ...

Route-Me framework: RMPath becomes invisible if moving map programly.

Hi! I'm using SampleMap example to draw path between 2 points and than move maps from start to end. When map moves, part of path that was out of visible area , becomes invisible until user drag map with finger. Anyone have similar problem? any suggestions to fix that? Here is code I'm using to draw path and move map: //Set map view cen...

Setting image for tabbarcontroller ?

Hey Guys, Is any way to set image for tabbarcontroller ? Means a common background image for all the tab ? Thanks ...

How to convert UIScrollView to image?

Dear All, I have a scrollview, frame size is 480x265 and content size is 1800x600. I have a lot of UIView added as a subview to this scrollview. May I know how should I be able to convert this scrollview to an image? Many thanks for any comments/help in advance! Warmest Regards, Erwin ...

What does NS stand for in NSString or NSXMLParser in Cocoa objective-c

Possible Duplicate: What does the NS prefix mean? Wondering the prefix of those classes within Cocoa objective-c on iphone. What does NS stand for? ...

UIRecorder in Instruments - IPhone SDK

HI, Using UIRecorder in Instruments comes with IPhone SDK, how to play recorded actions stored as .trace files.Please let me know..! Thanks Nagaraj ...

uiscrollview and uitableview

Hi. i have a scrollview which contains a uitableview and few buttons. i have added the uitableview from IB. and the table cells are created dynamically. i am adding a lable and a textfield for each table cell(Something like an input form for the user.) I have written code to resize the scrollview when the keyboard appears. So when i clic...