I have the following code:
UIImagePickerController *imagePicker = [[UIImagePickerController alloc] initWithRootViewController:self];
imagePicker.delegate = self;
popover = [[UIPopoverController alloc] initWithContentViewController:imagePicker];
[imagePicker release];
[popover presentPopoverFromRect:CGRectMake(100, 100.0, 0.0, 0.0)
...
Hey guys i have an image view, with a popover controller.
There is an array called detailitem which loads images into the image view.
All i want is a button to load next image in array into the image view
how would i write this?
Here is my attempt it doesn't work?
-(IBAction) nextitem {
NSString * imageName = [NSString stringWithF...
Hello,
I'm playing around with the GLPaint Example from Apple.
But I don't know how to create an effect which fades the already drawn stuff out.
I created an example in Flash which shows the effect I'm looking for:
http://staging.rwichmann.com/openglexample/
In Flash I'm drawing a texture on a BitmapData and in every frame I'm adding ...
I've just created a "bundle creator" app and I'd like to be able to produce a zipped .bundle file rather than have to copy the whole bundle folder.
ICSharpCode.SharpZLib Zip library to scuessfully create a archive file however the iPhone doesnt appear to uncompress it.
...
Hi all,
i want to get oauth_request_token for my application but when i request for the page of request_token in twitter it is giving me error that "failed to validate to oauth signature and token".
Please help me in solving this problem
...
Hi Friends,
Can some one say how I can bring the Safari Search bar Scroll effect. I guess the Search bars must be placed as the subview of UIWebViews. When I tried doing it, no controls are accepted by Web view as its subview. Please some one help.
...
I am trying to upload a universal binary of my app using Application Loader. I have an Icon.png file which is sized 57 x 57. When I upload the binary, Application Loader gives me an error saying that the size is incorrect and that it should be 72 x 72. The iOS reference library has an article (QA1686) that says the size of this file shou...
Hi All,
I have integrated push notifications in my app. They seem to work fine when the app is not running, but when I open the app they are not received (although they are received when I run a different app).
My app highly depends on a good network connection, so there is no reason that notifications are not received due to bad netwo...
How to select multiple photos from photo album using UIImagePickerController ?
...
I'm looking for some static library or open source project (in obj-c, released under some permissive license) to parse CSS in iPhone. Any recommendations?
...
I have a MPMoviePlayerController in my project.
Documentation says that next call:
moviePlayer.initialPlaybackTime = time;
starts at the closest key frame prior to the provided time.
Is it possible to start playing video from the specified time (not from the nearest key frame)?
...
I am trying to create a universal binary that supports multitasking on the iPhone 4 and can still run on the iPad.
I know how to avoid compile errors for different versions of the iPhone IOS by checking if a class exists by using NSClassFromString and "respondToSelector", but is there a way to check for the existence of constants like U...
What is the purpose of a provisioning profile and why is it needed when developing an iPhone application? If I don't have a provisioning profile, what happens?
...
Hi,
i have a double variable in my application and i update some values to it in viewDidLoad method and want to use it later in one of the delegate method of tableview but the variable is not able to retain the value. I am declaring it as follows:
double subTtl;
@property(nonatomic,assign) double subTtl;
mycode for viewdidLoad
su...
Hi,
is there a best practice for getting an event on every second of playback of an AVAudioPlayer instance? I need to change a view automatically depending on the current playback time.
Thank You!
...
i have developed sample application in which i have used Flite libraries for Text to Speech conversion. But now i am not able to get how can i pause and resume speech using API/Classes of Flite, because i think Flite convert our text string as a wav file and then once recording completed then it plays that sound file in background. So wh...
hi,
Is there a way to send take the crash logs of my app send it to my server ? If no is there a alternative mechanism to do this ?
...
Hello,
I make use of Apples Reachability class and it works if I keep it on the main thread(bad approach). If I instead move it to a separate thread the notification is never called.
In didFinishLaunchingWithOptions i call the following:
[NSThread detachNewThreadSelector:@selector(checkConnection) toTarget:self withObject: nil];
che...
Hi,
I am very new to iPhone development, and I am working on modifying an app which was written a year ago. Recently with the release of the new iphone 4 we have noticed that the screen which was previously displaying an image just fine, has not started to tile that image. And instead of one large image I am now seeing 4 smaller ones. I...
Hello
I got some questions on playback music via speaker.
i found an example in the following link
http://stackoverflow.com/questions/1022992/how-to-get-avaudioplayer-output-to-the-speaker
but the question is how to make sure i successfully implemented playing music via "speaker"?
I wrote the code as the link, but it seems no difference ...