iphone

Playing from iPod music library

Hello, I want to play particular selected song from my ipod music library.How can i do that? My idea is to save the title name from MPMediaQuery and then play later on when app starts so any one can have idea to do this? Thank You. ...

Is it possible to develop iPhone applications on Mac without Xcode?

Thanks, interdev. ...

Sqlit3 database content show in simulator but this is not show in devise.

Hi I am new in iphone I am developing a application which is connected with sqlite database. When we build application in simulator it show value from database to tableview in simulator. When we build that application in device this is not show the value th tableview. I am not understand what problem. ...

What do I need to implement a basic map framework?

I am doing iPhone development and what I want is a custom map framework (not route-me, not Google Maps). So far I found CATiledLayer and UISCrollView are helpful. But I am still not clear about the stuff(any kind of view, or anything from CoreAnimation framework, or anything else?) which would be perfectly fit this. So far I've just mad...

iPhone: How to run a Beta build, in addition to the App Store build?

Hi, All! I have an app on the Store for which we’re readying an update. The other members of our team have the App Store version already loaded up (~purchased) on their respective iPhones -- and those contain User Data which each member needs to be able to keep. In the meantime, we need to test out a Beta version of the next version o...

UIviewcontrollerproblem

Hello, I have a problem... In my view i have Textfield.If i move that TextField it should open iphone keyboard occupies.Extra TextFields doesn't display Please help in this issue. ...

Use OpenGL ES to create an iPhone painting tool?

Is it feasible to use OpenGL ES to create an iPhone raster graphics editor like SketchBook Mobile(http://usa.autodesk.com/adsk/servlet/pc/item?siteID=123112&id=13872203)? Any related reference(tutorial, sample) you can recommend? Why I try to use OpenGL ES? Because it's hardware accelerated and cross-platform. Thanks in advance! ...

using xcodebuild command line to put an app on the iPhone

Is this possible? How does Xcode actually deploy iPhone apps that were built into the iPhone? Or is there another tool which I'm missing out on? clarification: by "deploy" I mean actually install and run gdb on the iPhone like when you do run>debug ...

Which audio playback technology do I need for this?

I have trouble choosing the right audio playback technology. There's a ton of technologies to use on the iPhone, it's so confusing. What I need to do is this: start playing short sounds ranging between 0.1 and 2 seconds high quality playback, no crackle (I heard some of the iPhone audio playback technologies do a crackle sound on star...

Convert "minutes since midnight" to time (convert to NSDate?)

I am getting some open/closed times as integers since midnight. For example: "1140" = 19:00 (or 7 pm if you will) or; "570" = 9:30 (or 9.30 am) I can easily get the time in European format, just by doing doing a simple calculation and formatting: [NSString stringWithFormat:@"%d:00", (T / 60)] However, this doesn't work for half hou...

iPhone Facebook connect : "Cookies required"

Hello, I am using FacebookConnect on the iPhone to integrate my app with Facebook. Unfortunatly I've always "cookies required" when trying to login. Are you also encountering this issue or do you know what may cause this issue? Thanks in advance for your help :) Regards, ...

Adding a header view to a UIWebView similar to Safari and Articles

I'd like to add a header view to an UIWebView similar to the address/search bar in MobileSafari and the excellent Articles.app by Sophia Teutschler. More precisely, I'd like to create a "pull to fix orientation" view above a UIWebView, just like in Articles. Articles does use a UIWebView, so it seems to be possible. Is there a way to acc...

Cocos2D: Problem Rotating a CCMenu

If I try to do actions over menuItems but the actions are not running as expected. I think code below should make the menuItem rotate by 90 degrees but when I run it, the menuItem translates from its coordinates to another coordinate then returns to its original coordinate. The complete translation takes 3 seconds. What I need is for t...

upload photo at facebook via iphone

hello i am trying to upload my image from myapplication but not able to do so.... i have tried ASIFormDataRequest *theRequest = [ASIFormDataRequest requestWithURL:url]; NSString *nowTimestamp = [NSString stringWithFormat:@"%f",[[NSDate date] timeIntervalSince1970]]; [theRequest setPostValue:kApiKey forKey:@"api_key"]; [theRequest setP...

Why is there no * in front of delegate declaration ?

Hey guys, I just noticed there is no * in front of the declaration for a delegate ... I did something like this : @protocol NavBarHiddenDelegate; @interface AsyncImageView : UIView { NSURLConnection* connection; NSMutableData* data; UIActivityIndicatorView *indicator; id <NavBarHiddenDelegate> delegate; } @prope...

Is there a way to automatically uppercase comments in Xcode?

Is there a way to automatically uppercase comments in Xcode? Either when typing individual comments or globally after the fact? ...

Problem with Three20 TTPhotoViewController

Hi there, I am not sure if this is the right place to ask or report this... but i hope someone here can help me out with the following problem I'm currently creating an app which offers several functionalities. anyways it also includes the TTPhotoViewController which Three20 offers. Well this controller is absolutely awesome but i'm ha...

Playing sounds in iPhone SDK?

Does anyone have a snippet that uses the AudioToolBox framework that can be used to play a short sound? I would be grateful if you shared it with me and the rest of the community. Everywhere else I have looked doesn't seem to be too clear with their code. Thanks! ...

iPhone: know programmatically is cookies are allowed or not

Hello, I need for my app to have cookies enabled in Safari and I was wondering 2 things: - How to detect if cookies are allowed or not - How to allow cookies For the moment my googling was not really successful... Thanks for your help :) ...

Is it generally faster to call an instance method rather than a class method?

Today I encountered something strange: I tried to put a utility method into an Utility class as a class method, so that I can simply call that method to generate me an convenient UIView with no hassle (not the imageNamed method but the other, much more complex one). It was horrible. The performance was so incredible bad. Then I made an i...