In my UIViewController class, I created an UIImagePickerController like this :
-(BOOL)startCameraPickerFromViewController{
if (![UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera])
return NO;
UIImagePickerController* picker = [[UIImagePickerController alloc] init];
picker.sourceType = UII...
Hi,
i am working on a application where i am saving the coordinates of a location in database
now i need to use these coordinates and display the location on a map. Can some one please
suggest me how can i change the latitude & longitude stored as NSString to coordinate. I want
to use these coordinates to display an anotation on the...
I would like to use a single NSManagedObject subclass to represent an item. However, much of the time, the items I will be representing are fleeting, and are not to be saved to the persistent store. It seems like an in-memory store would be the correct setup.
However a few times the user can choose to 'save' an item, and thus I would th...
hi
I have set,
This is my below code in applicationwillterminate method.
NSString *string4 = @"Objective-C";
NSUserDefaults* defs7 = [NSUserDefaults standardUserDefaults];
[defs7 setObject:string4 forKey:@"subject_textfield"];
This is my below code in applicationdidfinishlaunching method.
NSUserDefaults* defs7 = [NSUserDefaults sta...
In new iOS4, we have fast app switching, and when we suspend the app, some data is still in memory and cost memory.
So, I just wonder if leaving data in memory will consume any battery life faster, comparing with using no memory? It will be good to know for programming the app to use less memory so that the whole iphone battery is bett...
Dear friends hi to all
i am new to iphone development i have doubts in event handling ,
i wonder how to handle event for the view which having various subview ,imageview etc
bacause if i made touchbegin evnt all the touches made in that view will be refelected how can i find where the touch come from that view (for eg its from Views o...
Hi all, Ive been trying to get my game to work correctly with an NSTimer. Ive seen many people have had a similar problem to me and I just need a bit of clarification on something.
Basically I have an NSTimer running on the main thread which is updating images which represent the time, but I also have a mapView. When the user pans the ...
I updated my iPhone to the new OS 4.0 and went to build my iPhone app and everything built ok, but the message I got at the end was "No provisioned iPhone OS device is connected". Looking at the Xcode organiser, it shows my connected device with an amber icon next to it, and all my provisioning profiles show up as "Installed" but also wi...
Hi,
I am getting crazy over this error. Compiler is saying out of scope for an instance NSSString variable. Never had this thing before and used thousands of NSString instance variables!
Here is my class .h file
#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <CoreAudio/CoreAudioTypes.h>
#import "Snapshot.h"
@in...
Is it possible to get accessing all the ring tones. I need to display the name of the ring tones in UIPickerview then user can select and set as ring tone. Any Ideas?
...
I have a loging screen with a UISwitch for letting the user choose "remember me" so I can store his/her credentials on the key chain if desired.
This will only happen if the user has chosen "remember me" AND the server accepts the username/password. However, when the server replies, I have a hard time referring to the state of the UISwi...
Hi all,
I want to develop an online multiplayer game for iphone.
I have developed two iphone applications but they weren't games.
so This is my first game .
so Basically I know nothing about how online multiplayer games works on iphone.
I just want to know the strategy , beginner's precautions and other design elements that helps me...
Hi Buddies,
I want to display the image in navigation bar instead of back button with action. So now i have used image view and displayed the image in the navigation bar. Now i want to write the actions for image view, when touch or click the image view. Is it possible to write a actions for image view?.
I am currently working in iPhon...
Hi guys does anyone how you can access the artwork image for an mp3. I download the mp3 from a server and save it in documents, and when i play it from file I want to display the image for the mp3?
thanks
...
Hi Guys,
I got one problem, that is when I tab the UITabBarController buttons, While Loading the data, I am getting exception. How can I get through it.
Is there any idea or can we disabled the buttons but it is opposite to programing.
...
Hi Guys,
What is the best approach to save any application state information or user data information before application goes to background?
Say for example I have one application level variable called "Authorised". Where should I save this information so I can get it back if it is purged by memory management.
Regards,
Atif
...
I have an app written in javascript/html/css and using phonegap framework. For javascript ajax I use jQuery.ajax(). App work fine when there is wifi connection but doesn't work when there is 3G or EDGE. Does anyone know if there is something I can do to make it work seamlessly?
...
Currently This is how i change between detailviews from the right navigation bar
UIViewController <SubstitutableDetailViewController> *detailViewController = nil;
NSString * type = [self selectview:arb];
DetailViewController *newDetailViewController = [[DetailViewController alloc] initWithNibName:type bundle:nil];
detailViewController...
hi friends..
can anyone tell me the structure of UDID of a iphone . I want to use the UDID to identify each user saperately in my app. The UDID seems to be a 40 digit string . In my app i dont want to use such a big ID. Can any one tell me the structure of the UDID so that i can cut short and make out a small unique string from UDID......
I am trying to implement a clickable image that is able to repeatedly cycle through three or more images. I don't need to interact with the images once the cycle is set up. The cycling is time based, rather than event based. The images should smoothly transition from one to another.
What is the best way to approach this problem?
My fir...