Hey I'm new to iPhone coding and I've got a Question.
I'm using the iphone-sdk 3.1.3.
I have build this simple Webbrowser, just for testing: http://www.youtube.com/watch?v=_ZcND6ZVOYw
Now I've got a Page with Pictures and Mp3 Files and I want to download them into a folder called download. So you click the Download Button and a downlo...
I have called a method using NSthread. I want to stop the thread on a click event of button.
How can i achieve that ?Please help me out.Thanks.
[NSThread detachNewThreadSelector:@selector(playVideo) toTarget:self withObject:nil];
...
I have a 284 pixel wide UISlider with a range of 0-25. The user needs to select a value to 1 decimal place (say 12.3), which is possible with care by rolling your finger, but is fiddly and tends to change value as you lift your finger.
I am trying to arrange it so that you can inch the slider up or down by 0.1 intervals by tapping on t...
From what I understand, UIApplication -openFile can open files externally, the application depending on the URL scheme. Say I have a pages (or word maybe?) document, and I want to open it in pages from my app. Does anyone know the URL scheme for me to do that? Is there a list anywhere? (Keynote, and Numbers would also be useful).
...
I installed Xcode 3.2.3 and the symbolicatecrash console utility that used to live here:
/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneRemoteDevice.xcodeplugin/Contents/Resources/symbolicatecrash
is no longer there. Yes, yes, I know that reaching into random packages is dangerous business if you expect ...
What are some good sites to ask questions regarding iPhone development? I know there's the official dev forum and this site.
...
Add a toolbar to a view in Interface Builder, and then add buttons to the toolbar. Image buttons on a toolbar glow/highlight when they are tapped, to give the user a response that they touched it. Ever since iPhone SDK 4 however, when tapping buttons in a toolbar, the glow is the correct size, but with every tap the glow gets progressi...
I have the following code
NSMutableArray *plistArray = [[NSMutableArray alloc] initWithContentsOfFile:filepath];
[plistArray insertObject:title atIndex:2];
but would like to rather add the object to the end of the array.
How can this be done, and do I need to set the last value to nil, at the moment I dont and it works fine.
Regard...
I need to have a modal datepicker popup like the keyboard when a textfield is pressed. I have done a lot of searching but not seen anything with a complete solution, can anyone hel please?
...
I want to read the text from the localizable.strings file. I am collecting the strings for translation from several directories and file in one .strings file. But then I have several copies of the same translation strings. I want to remove this programmatically.
So I need to read the strings only (not the comments) from the .strings fil...
I am new to Obj C, but familiar with OOP. I am working on a game that uses collision detection to score points and change UIImageView properties like background color.
I have a finite number of UIImageViews that are subviews of a larger view. I can manually check for collision and set the background colors of the UIImageViews accordingl...
Hi,
I would like to know if it exists a way to check if device camera supports auto-focus ?
The only solution I found is to check device name in order to know if it supports auto-focus or not. But I did not like it because it did not work for future device.
Regards,
Quentin
...
I'll keep it short and sweet - I'm building an application just for practice before I buy myself the iPhone Developer Program.
I'm experimenting with the AVFoundation.framework and I keep running into a bug which will only let me play the first sound I initialize in my code. Do you think any of you could help me out? Thanks in advance!!...
Is there a way to detect touch events from another class than the Layer itself.
I'm trying to have a state controlling the interaction, adding listener to the layer itself if needed instead of have the layer call a function on the current state, which might be a noop.
Is the a way to use such a thing?
...
Hi,
I am using XCode 3.2.2 to unit test some custom data types. The tests run properly without those data types, but when I use said data types, I get this error:
"_OBJC_CLASS_$_classname", referenced from:
(where "classname" is the, well, class name...)
I have seen hints online that it could be linker related. The strange thing is, ...
Hi guys, I'm quite new in iPhone Programming, but I'm trying to do my best cause I have some skills in OOP.
I'm creating an iPhone app based on a four element Tabbar. I would like to use other functionalities already implemented by a friend of mine in his own iPhone app (a three elements TabBar app).
Since I would like my app's users ...
I am using the EGOTableViewHeader class provided from:
http://www.drobnik.com/touch/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/
I am able to display my view at the top of my UITableView:
refreshHeaderView = [[EGORefreshTableHeaderView alloc] initWithFrame:CGRectMake(0.0f, 0.0f - self.tableView.bounds.size.heigh...
I know the width of the "Form sheet" modal on the iPad screen (540 x 620), the width of iPad screen (768 x 1024), and the width iPhone screen (320 x 480)… but when loading an html page into the "Form sheet" modal the width defaults to the device width per the viewport meta tag:
<meta name="viewport" content="width=device-width">
This ...
I've been struggling with this for a few hours now.
I have included a newer version of Three20 in an iPad app, and can compile just fine with my debug build. Whenever I switch to another build, even a duplicate of debug, I get about 78 errors stating that UILabelAdditions.h could not be found.
It is in the Three20/src/Three20 dire...
How can I determine if the east coast is currently using EST or EDT using the iPhone SDK?
I am aware of the NSTimeZone class and I attempted the following but it did not work, the result is "East coast is NOT on DT" which it currently is. This leads me to believe that isDayLightSavingTime simply checks whether its being passed an ST or ...