I use the MFMessageComposeViewController for sending in App sms. in iPhone 4.0, if there is no SIM card, the app exits. it just gives a pop up message "no sim card installed".
The delegate callback MessageComposeResultSent. But application exits. Is there any way to prevent it from exiting? or how to check if there is any SIM card in the...
I'm sure there is a way to do this using blocks, but I cant figure it out. I want to to turn an NSDictionary into url-style string of parameters.
If I have an NSDictionary which looks like this:
dict = [NSDictionary dictionaryWithObjectsAndKeys:@"blue", @"color", @"large", @"size", nil]];
Then how would I turn that into a string that ...
Hi everyone,
I'm new to CoreData concept, and may be I'm getting something wrongly, but I want to fetch fully-qualified array of data from CoreData (not these abstract faults).
My problem is that I displaying a list of objects from CoreData to user in UITableView and at the same time refreshing data in background thread. If user is scr...
in objective c i want to replace string which is between two string.
For example
"ab anystring yz"
i want to replace string which is between "ab" and "yz".
is it possible to do? Please Help
thx in advance.
...
Possible Duplicate:
Load PDF from documents directory - iPhone
I am trying to load a file from the documents directory. Here is my code:
// Get Documents Directory
NSArray *searchPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectoryPath = [searchPaths ob...
How to convert UIimage to base64 encoded string. i couldn't find any examples or codes with detailed regarding.......
...
Hi together,
i have a problem with my app when i send it to background via the home-button. I'll try to describe it shortly but completely:
I have an UIImage-pointer declared in @interface with following property:
@property (nonatomic, retain) UIImage *pauseImg;
This pointer is set to an image declared in viewDidLoad like this:
pa...
I am building a universal for iphone/ipad and I already set the deployment target to 3.0. It can run well on iPad 3.2 and iphone 4.1. However, when I build and run it on my iPod 3.1.3, the runtime automatically picks the iPad code path and tell me that it cannot find UIPopOverController and UIMenuItem. In my iPhone path code, I don't use...
Hi all,
I want to broadcast some data bytes in particular wifi range through my iPhone app...so that every receiver in that particular range will receive that bytes. I am very much new to this concept.
Is there any sample app?
Thanks in advance...
...
There has been many Questions recently about drawing PDF's.
Yes, you can render PDF's very easily with a UIWebView but this cant give the performance and functionality that you would expect from a good PDF viewer.
You can draw a PDF page to a CALayer or to a UIImage. Apple even have sample code to show how draw a large PDF in a Zooma...
I have a complete in app purchase solution but am wondering if I am handling errors correctly. I handle errors using code similar to the Apple example here;
- (void) failedTransaction: (SKPaymentTransaction *)transaction
{
if (transaction.error.code != SKErrorPaymentCancelled)
{
// Optionally, display an error here.
}
...
Hi,
I have a view and I hv a button on that.I need to have a drop down box on clicking that button. How to implement drop down box??
Drop down box shuold have a table view.When I click rows in table view(after drop down box will open) I want to get text which will be there on the clicked row cell on a view where I had button. How to do ...
Hi you geniuses !
I am working on an iPhone project which I translated in two languages : French and Spanish.
The issue I have is just with one file : the RootViewController nib.
I localized the MainWindow.nib, and it works (when I change the language, the text in the app changes according to what I specified). I also have several NSL...
hello,
iam developing an app where user will select his region, to select his region we need to display an colored pin which is movable , then ill fetch the respective lat long.
how can i get movable pin on my map overlay using code .
thanks
Kumar Y R
...
I have integrated the myAnnotationview custiomed api in to my project.And i have added some address on it.I want to test it from iphone simulator.Is it possible?How can i achieve it?Do i need to ON anything in Simulator?
Thanks
...
When I call
NSDate *now = [[NSDate alloc] init];
in order to get the current date and time, I check it with:
NSLog(@"Date now: %@", now);
the date outputted is one hour in the past.
2010-10-08 12:04:38.227
MiniBf[1326:207] Now: 2010-10-08
11:04:38 GMT
Is my time zone set incorrectly somewhere perhaps?
Thanks!
Micha...
Hi
Basically my app lends itself perfectly to a tabbarcontroller, but I do not want to use the default tab bar. Instead I have created nice graphical drawings of tabs which I want to use as the controls for my app... Does anyone know of the best way to do this? Am I goin to have to write all the functionality for my control from scratch...
Possible Duplicate:
Load PDF from documents directory - iPhone
I am trying to create a PDF from a file I have stored in the documents directory (1.pdf). Here is my code:
// Get Documents Directory
NSArray *searchPaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documen...
hi iam currently working in IPHONE application ,in which NavigationController is a rootViewcontroller .
AppDelegatefile:==
UINavigtionController *nav=[[UINavigationController alloc]initWithRootviewcontroller:ViewController];
[window addsubView:nav.view];
After navigating 5 screen(view) later my application need tabbar controller, s...
I have a css problem when the html page is rendered on iPad. Everything works good in other browsers. The problem is that I get a small space between the cells in my tables as you can see in the picture: http://oi53.tinypic.com/2vl0as9.jpg
If I zoom in the page maximum on the line between the cells, it dissappears.. So it must be some k...