iphone

webkit img 100% width issues

Sample Link I am using jquery cycle to slide through these images I am having issues in iOS webkit getting the #imagegallery img to scale 100% width. Any Ideas? ...

Need help for AdWhire(admob) about "Unable to fill ad request. This is a common situation"

Hello Guys, Now I am doing the adwhirl development. When downloaded the latest AdWhirl and AdMob SDK. Read and done with the instructions in the AdWhirlSDKInstructionsforiPhone.pdf, I receive below error message. 2010-10-25 23:52:20.774 iAdWhirle[2017:207] Unable to fill ad request. This is a common situation. 2010-10-25 23:52:20.825...

Why do my UIButtons look transparent in iOS4 when they looked fine in iOS3.1.x?

I have an app under development that worked fine under iOS 3.1.x. I was at a good break point, so I decided to upgrade my dev environment to XCode 3.2.4 + iOS4.1. My app has a number of UIButtons that I made colored using the "stretch a colored image as background" technique described elsewhere on StackOverflow: UIImage *myImage = [UII...

Premature exit from dispatch_asycn , Grand Central Dispatch..

Lets say i am running some code in dispatch async. .. is there a way to terminate the thread it creates before it completes? like when the user clicks cancel dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ //start doing something here.. break bofore it finishes? dispatch_async(dispatch_get_ma...

How to re-enable CoreLocation prompt in xcode?

Hi, When I first ran my app that uses CoreLocation in the iPhone simulator, I was prompted with the dialog saying that my app would like to use my current location. In that popup, there is a checkbox that says never ask again. I had that checkbox selected, and now I never receive that popup again. How can I revert this change? I'd l...

How can i integrate Barcode scanner in my application?

Hi! i have sample code of Barcode Scanner but when i install it in my iPhone 2G which contains Version 3.1.3 gives me the below error message.i have taken the code from this link:http://code.google.com/p/zxing/downloads/list dyld: Library not loaded: /System/Library/Frameworks/CoreVideo.framework/CoreVideo Referenced from: /var/mobile...

Objective-C iPhone third party API list?

Is there a list of third party APIs that can make my iPhone app have amazing features (ex. Yelp API, Facebook API)? ...

fetch data from web-services iphone different ways?

Hi Hi I am working on web-services getting data from web-service. Data is in xml formate. i parsed data and display on my require Outlets. Every thing working great. I want to work same parsing in different way. Is there any alternative way to fetch data from web service. Or Xml parser is best among the other. Help me out Thanks i...

cancel UIView Animation

I use below code for shake button How can i cancel it when it's in progress? #define RADIANS(degrees) ((degrees * M_PI) / 180.0) CGAffineTransform leftWobble = CGAffineTransformRotate(CGAffineTransformIdentity, RADIANS(-10.0)); CGAffineTransform rightWobble = CGAffineTransformRotate(CGAffineTransformIdentity, RADIANS(10.0)); ...

How to implement video upload functionality

Hi. I am working on one app in which i need to upload video and audio, i had heard lot about mediapicker but i am not getting actually how to deal with it. Can anyone please tell me about this. ...

Drawing on canvas with iPad?

Hi, I found this http://www.bennadel.com/blog/1867-Drawing-On-The-iPhone-Canvas-With-jQuery-And-ColdFusion.htm example on how to draw on a canvas with the iPhone (which works) but it doesn't work on my iPad. When I try to draw something all I can do is to make straight lines from the same starting point. Also it doesn't disable the scro...

How to convert nsstring to cString?

I have a nsstring(filePath),which has the path to the audio file.I want open the audio file, so i want to convert the nsstring to Cstring. fopen([filePath cStringUsingEncoding:1], "r"); is the above line is correct or not,because i can also use fopen([filePath cString], "r");, In some websites it is mentioned to use UTF8stringEncodi...

What is IB in IPhone

Hi, Any One Explain What is Interface Builder in IPhone??? ...

Developed application for iphone converting into android.

Hi. I developed an app. for iphone. same app i need to develop for android. i found some stuff about. sencha, phonegap, Does it work efficiently. Thanks in advance ...

Help needed on error while sending NSData to server via NSStream in objective c

Hi, i'm have problem with the writing TCP socket in objective c. i'm having the following error when i then to write a data to my server. my file size is 2727936 but while sending the data, the code cashed after sending 1000000+ byte. is something wrong with my code? or do i need to need something else? Thanks in advance. error=> malloc:...

how to close the application progarmatically when user taps on a button

hello all.I need to close the application whenever user taps on the button(i need to keep IBAction for closing the app).Like in games menu we have exit button when we tap on it we come out from the game.Same thing i need.How can i do this .Thanks in advance ...

entity nbsp not defined

I have been trying to load the url http://friscotxcoc.weblinkconnect.com/cwt/External/WCPages2/wcevents/eventsstartpage.aspx?oe=true&ce=true into a webview but it shows up an error 'Entity nbsp not found'. The link works properly over Safari (Machine as well as simulator) but doesnt load properly when loaded through a webview. Can so...

iphone - facebook api in ios4

Facebook released new API that works perfectly on iOS4. The API's that are in older facebook api are no longer working in new api. I have the experience of integrating facebook api in iphone3 Apps. but now the api's are no more available. I'd like to post a message the user's wall. How can I do it with latest API. Is there any tutorial...

iPhone Extended Audio File Services, mp3 -> PCM -> mp3

I would like to use the Core Audio extended audio file services framework to read a mp3 file, process it as a PCM, then write the modified file back as a mp3 file. I am able to convert the mp3 file to PCM, but am NOT able to write the PCM file back as a mp3. I have followed and analyzed the Apple ExtAudioFileConvertTest sample and also...

how can I run a iPad project on a iPhone or touch

I build a iPad project,i want to run the project on iPhone with auto-resize and it's run successful on iPhone 4.1 simulator,but it's always alert 'can only installed on ipads' when i run it with my iPhone,how can I run a iPad project on a iPhone or touch,what can i do? ...