I have this switch statement in my code:
switch(buttonIndex){
case 0:
[actionSheet dismissWithClickedButtonIndex:buttonIndex animated:YES];
break;
case 1:
UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];
imagePicker.delegate = self;
imagePicker.sourceType = UIImagePickerContro...
Hello,
I am having a bit of a problem here, I am let the user upload some video to the server however I am having some difficulties managing a view that I am using to illustrate its progress, I know why the problem is happening and i found a way around it (sort of) here my problem
So if one tries to make some code that looks something ...
Friends,
I've a problem in moving the cursor to first location. I've an application which keep adding the note. When user press "edit" button, i am launching another screen and want to move notes existing text at the bottom of TextView while cursor is on the first location. This behavior is similar to email reply screen. Here email body...
Hi,
I have a text box and I am only interested in capitalizing the first letter, So how to do that in iPhone UITextField.
...
For bandwidth reasons I would like to use Apple's implementation of the IMA4 format available for recording on the iPhone. This format is great for space, but it seems to be hard to find any programs that can transcode it into something like linear PCM or MP3. I've tried sox and Transcode to no avail. I need to be able to do this automat...
I'm working on modifying some existing heavy-handed code that simply calls [tableView reloadData] on any change, to using more specific table updates with the insert/delete methods.
However, I'm getting some really bad behavior in doing so. Previously, as one would imagine, when the table loaded, it only requested cells for the rows th...
Hi,
I want to make a youtube app like application for the iphone, where some videos are streamed/downloaded from a video site. But just by looking at the youtube app, I have a doubt.
I searched around on google, and it seems iphone does not have builtin support to play flv files. So how is the youtube app able to play the videos? Where...
When you try deleting a note in iPhone's Notes application, an UIActionSheet pops up. The sheet is translucent (but not black translucent). How is that achieved? Is it possible to make the background of UIActionSheet a certain color?
...
I have an indexed table view and I want it to have a detail view when I click something but right now it just comes up with a screen with a navigation bar but no title and not text. Does anyone know of a tutorial that teaches you how to do that?
Thanks
...
I'm rather surprised at how few objects implement NSCopying. This is the third time in two weeks where I have needed to duplicate an existing object, without having to either go to disk and reload, or recreate the object and set its settings.
Now I have to duplicate an AVAudioPlayer sound. Why? I want to play the sound twice, withou...
Hi,
I am making iPhone application for accessing bugzilla (application).
Rightnow my application is allow to access bugzilla from anywhere without VPN IPSec, but whenever some bugzilla's required VPN IPsec authentication to use from outside the network,
It will not allow to access bugzilla from my iPhone application,
how can I code to ...
What's the simplest, fastest, or otherwise (objectively) best way to add a couple of controls (e.g. some UIButtons) beneath a UIWebView?
To be clear, I'd like to display a regular scrolling UIWebView, but when scrolling reaches the bottom I'd like there to be some UIControls after the web content. I'd rather not fake it with HTML/CSS co...
Hey guys, here is the low down.
I have one table, consisting of a primary key(col1), text(col2), and text(col3). Basically a map. This table contains about 200k rows. It basically takes me about 1.x seconds to retrieve a single row (this is all I want). I'm basically using select * from table where col2 = 'some value'.
I've tried creat...
The CA Programming Guide is talking about Constraints Layout Managers. However, the CALayer in the iPhone SDK doesn't have any constraints property or addConstraint method.
They say iPhone OS just doesnt provide custom layout managers. But how about the standard ones?
...
I am programmer with a games and 3D graphics background and at the moment I would like to brush up on my networking and web development skills.
I have a task that I would like to accomplish to do this. My idea is that I would like to be able to send a HTTP request or something similar to my webserver, which runs a LAMP based setup. I wo...
hello, does somebody know how to move the camera to a specific position?
...
Hi folks,
I've used following function in some of my projects, but recently I've created a small example which suggest that it's not reliable (at least in some situations):
[NSString sizeWithFont:font constrainedToSize:size]
[NSString sizeWithFont:font constrainedToSize:size lineBreakMode:lineBreak]
I created a custom UITableViewCel...
is there a way to customize the uistatusbar???
...
i have coded in appdelegate.m as following to change from currentview to UItable viewcontroller?but i am getting error,tab is a uitableview controller
tab = [interviewViewController alloc];
[viewController.view removeFromSuperview];
[viewController.view addSubview:tab];
[window addSubview:viewController.view];
...
Hello,
I have a managed object model A and B with one-to-many relationship.
For this particular task, I want to retrieve all A objects which has a relation to B with a property matches to "string".
I had tried @"ALL bObjects.bProperty MATCHES 'string'", and it caused an objc_exception_throw in:
[NSSQLGenerator generateSQLStatementFor...