I am working on a website which I would like to work on iPhones, however I want it so they can tap and hold a button and have it continue firing the onclick event. I got it to work in other browsers, but the iPhone is the only one that will need to hold down the button. Is there a way to repeat a function when holding down the button? Thanks.
I'm using yahoo local search in an iPhone app and trying to query everything in a certain location. According to the api docs you can pass "*" to query and it will return everything. I've tried passing it several different ways, including the way below but it does not work unless I actually pass it a real query. Does anyone know how or what I need to pass to make it query everything?
[self setQuery:[@"*" stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding]];
Thanks
Hi all!
I was wondering if it is possible to add an icon to the iPhone status bar, much like the battery and wifi indicator. How can I do this?
Thanks.
Ok here's my problem in a nutshell I've built a web service from ruby on rails. I'm using restful_authentication to create and run the login but I'm also building an iPhone application to access my web service but I can't quite figure it out. I was wondering if anyone could help me figure out a place to begin.
When I develop in .NET there's lots of UI controls from companies like Infragistics and Telerik that enable me to build above-and-beyond standard usability and stylish GUIs rapidly. Is there anything like that for iPhone Objective-C development?
Hey Guys,
How can I Encrypt on iPhone Decrypt the same data in an ASP.NET application?
Should I not worry about it and just send all data by SSL?
Thanks
I use jquery.hover to toggle a class when someone mouses over a link. On the iphone when someone taps the link, it toggles the class on, but it doesn't ever toggle the class off until they tap somewhere else.
I am recording audio in iPhone ..
This is my Audio Queue object
AudioQueueNewInput(
&audioDescription,
recordingCallback, self,
CFRunLoopGetCurrent(), kCFRunLoopDefaultMode, 0,
&mInputQueue
);
But i want to run this in a seperate RunLoop..How to create custom CFRunLoop ?
Please help me..Thanks in advance.
Hi, I am trying to set a cookie and also check if it is there, does anybody have any sample code for this? All I found was this, but it would be helpful if I could see an implementation example. http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSHTTPCookieStorage_Class/Reference/Reference.html
Suppose you have three points of contact on the iPhone screen and one of those touches moves...
The touchesMoved method will be invoked and the [[event touchesForView:self] count] will be equal to '3' because there are three touches for the event, but how can you distinguish between the touches? For example - find out whether it was the first, second, or third touch which moved?
Thanks.
I've been looking at the Stanford University iphone videos on iTunes U. And saw the teacher trying to do something similar to this code but he realised and said it didn't work though I didn't get why:
- (IBAction)flashPressed{
if (window.backgroundColor == [UIColor magentaColor]){
window.backgroundColor = [UIColor redColor];
}else {
window.backgroundColor = [UIColor magentaColor];
}
}
Objective-C, windows based application. Not sure what else you need to know.
I want to implement the payment gateway like functionality in my iphone application other than In-App Purchase feature provided by Apple.
So, i have one Question regarding the application approval on Appstore that, if i will redirect user to the UIwebview for payment related functionality, then apple will reject this application for not following the human interface guideline or it will allow this.
Other way i can do it by calling web-service for the transaction of money. So, again there is any chance of app rejection on AppStore.
Please share your thought on this
hi all,
i am new to Iphone programming.
I want to copy a folder(which contains subfolder hierearchy and files) from resourse folder to application folder. i have no idea about this.
Please suggest how can i do this task?
Thanks
i have developed a mobile version of a page and it uses some mobile specific java and css
i have come across many solutions to point mobile/iphone users to that specific page and desktop users to original webpage.
but what i want is that i get both things in one page and when user is on mobile that certain part of javascript and css run while on same page
without user being redirected to other pages.
is this possible
I'm new to iphone development. i want to write an app that has 3 buttons. touching each will trigger a sound.
1.wav
2.wav
3.wav
Can someone give me some hints and guide me to the right path?
Is it possible to have a single iPhone screen with its view loaded from a xib by that screen's UIViewController, but then another UIView within that screen with content loaded from a separate xib file? If so, is it possible to have that nested view's events handled by a separate custom UIViewController subclass from the rest of the screen? If both of these things are possible, are they also advisable?
I try to draw rain and snow as particle system using Core Graphics.
In simulator rendering proceeded fine but when I run my app on real device rendering is slow down.
So, advise me please approaches to increase particle system drawing performance on iPhone.
May be I should use OpenGL for this or CoreAnimation?
this is a follow on from this question and the link given it seems that when an app is updated all of the files in the documents directory are copied into the updated apps documents directory and also anything in Library/Preferences. Whats the best way to simulate this for testing purposes?
Just copy the files in ApplicationSupport/iPhone Simulator etc? or has anyone developped any funky techniques for testing this.
Is this possible to play any video file without using of MPMoviePlayerController in iphone.......?
If possible means plz help me .
Thanks in advance.....