I am currently looking for a way to identify some terrain within a png image, How do I check to see if a pixel is a certain colour? or even better a certain alpha level?
Any help would be great.
Adam
...
Currently I installed XCode_3.1.4_iPhone_SDK_3.1.2 on Mac OSX 10.5.8, and I plan to buy an iphone 3gs 8G iOS 4 in the following days. I heard from friends that iOS 4 can't be downgraded to 3.x!
My question is, can XCode_3.1.4_iPhone_SDK_3.1.2 deploy app to iOS 4 device via iDP? Should I upgrade system to 10.6.4 and install Xcode_3.2.3_i...
Why is it that there is no Did End On Exit property for a UITextView? How do you resignFirstResponder to lower the keyboard when the user clicks the 'Done' button? A UITextField usually works by just linking 'Did End On Exit' from UIBuilder but UITextView doesn't have that option.
...
Essentially i want to display a notification just beneath the UINavigationController, covering the area that would be occupied by the top most UIViewController's view. However i want the background image to extend upwards and partly cover the UINavigationBar
The finished product should hopefully look like the below
The trick comes in ...
If I get an iphone, should I go for the latest version (with the antenna issue) or can I make do just fine with the previous version?
i.e. are there significant O/S changes that will effect my ability to test and run an iphone application?
...
Hi all!
I have a list of 55 (or any number but 55 at the moment) questions in my iPhone app.
I have written it at the moment so it goes through the questions from 1 to 55 in number order.
However, I would like to make this order random (or pseudo-random anyway).
I can do it programatically by generating a random number to pick one of...
Hi All
in my application i am using peoplePickerNavigationController
I want to get person Id
(BOOL)peoplePickerNavigationController:(ABPeoplePickerNavigationController *)peoplePicker shouldContinueAfterSelectingPerson:(ABRecordRef)person property:(ABPropertyID)property identifier:(ABMultiValueIdentifier)identifier{
in this method...
lets say we have a simple array with file 1, file 2, file 3.
and we are displaying a controller with file 1, how can we write file 1 from the original array to a new and completely different array (lets call it different array).
...
hi,
Since iPhone 4 do takes the application to background thread, Is there a way to quit the application so that it is not in the background ? can we have a exit button in the screen ???
...
Hi All,
I am making phone call from my iphone application. After the phone call ends i need my application to launch back automatically. Currently after the call ends the application is not lauching.
Could anybody help in this issue.
Thanks & Regards
Senthil
...
I am building a web application that is to be run by adding the app to the home screen. Currently it has a list of users, clicking on a user takes you to a detail screen for that user and on that screen is a notes link to take the user to another screen with a grid of notes and a text box to add more notes.
When any links are clicked...
Hi,
I have a dojo charting application that looks fine when viewed in the IPhone at 100% page view..But, when a form is popped open and it centers on the screen, if you try to zoom into the form because it's small @ 100%, the form centers again so only a portion is viewable. Any scrolling or page movements on the IPhone screen causes t...
So, I have the facebook graph API implemented and it is working just fine. What I am trying to do now is to post a small UIAlertView as soon as the wall post is successful telling the user that their information actually WAS uploaded to facebook. My code connected to the "Post to Facebook" button is:
-(IBAction)pressedPost {
NSString ...
Here's my view controller hierarchy:
| [A]
| ---- [A1]
| ---- [A2]
One accesses view controllers A1 and A2 by tapping A1 and A2 cells respectively within view controller A.
Say I have tapped through to A1, and within that view controller I press a button which brings me straight through to A2, how do I:
Remove A1 as the visible vie...
I have an app used iphone4's new feature (MFMessageComposeViewController). because this class does not exist in iphone3, I have to use a workaround method (old code) to do the thing.
if ([self isVersion4]){ use new code } else { use old code }
I compiled my app in iphone4 SDK and it runs well.
I want to know if the app cound run well ...
Hi All. I'm soooooo close to finally finishing my first app to put in the store. Everything works just fine and memory leaks are almost totally nonexistent....except when I'm using the Camera or Selecting an Image from the Camera roll.
If the user chooses the camera vs. the roll....the camera works fine...takes a picture and then when...
I am using the MPMoviePlayerController to play movies:
STVideo *mySTVideo;
mySTVideo = [items objectAtIndex:indexPath.row];
moviePlayerViewController = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL URLWithString:mySTVideo.video_url]];
moviePlayerViewController.view.backgroundColor = [[UIColor alloc] initWi...
Hi,
i am developing an iphone application which have to show images from server as thumbnail list. I have created thumbnailview using Three20 package TTThumbViewcontroller class.
Now i have to add banner view above the thumbnail view as shows in the image. Also i have to add the bottom banner view in the TTPhotoviewcontroller also.
c...
I want to put on the screen a pseudo-UIAlertView which is just a UIView plus buttons in a nib I've created with IB.... what's the best way of doing this?
...
Hi,
I'm writing a piece of software for the iPhone/iPod. I've tested it on the simulator and lately using my first gen. iPod touch. To my surprise the code is a bit sluggish on the iPod device.
My program (using core graphics) draws a large background image, a couple of other images, a large radial gradient fill, uses transparency (alp...