Hi, i'm using the iphone sdk (3.0) and i'm trying to create an array of selectors to invoke a variety of methods within one class.
Obviously, I'm doing something wrong (I think @selector isn't considered a class and so stuffing them into an NSArray isn't working).
I tried this, but it's obviously wrong.
Is there a simple way to have...
Does anyone know how to adjust the iPhone's compass reading to adjust if you use it in landscape mode? The heading is always taken from the top of the device, but a true reading should be available if recalculations are made with the accelerometer data.
...
Given a directory [[self documentsDirectory] stringByAppendingPathComponent:@"Photos/"] how do I delete ALL FILES in this folder?
(assume a correct documents directory path)
...
Is there an easy/generic way to compare two objects to see if they are the same? By 'same' I mean identical entity name, all attributes and relationships are the same, but the internal object ID is different.
Similarly, is there an easy/generic way to find the differences?
...
I am able to successfully view a PDF from a website.
I want to be able to download that PDF to the device, then be able to access that file locally.
So the user opens the app, the app checks the online PDFs date and compares it to the date of the PDF store locally, if it is newer, then the new PDF is downloaded, if its not newer then i...
Basically what the title says, where is a good tutorial or article about Model-View-Controller relationships that is relevant or specifically about the iPhoneOS?
...
I am trying to insert over 70,000 rows into a javascript database (using Chrome 5.0.317.2). The inserts are taking a very long time. The actual page loads in a few seconds, and I can see progress as the percent increases very slowly as each row is inserted. It took about an hour to finish inserting all the records. Is there a way to opti...
Hello everyone!!
hope you all are fine and also in one of your best of moods!!
I have a query to ask you.
I have few mms at server side. I want to stream those mms clips and want to open in my Application.
anybody has any idea how to do this??
kindly share your knowledge...
Looking forwards!!
Regards,
Arun Thakkar
...
I am new to iphone .How can i develop appstore using store kit .can any one explain the necessary steps ..Thanks in advance
...
Hello all:
i read this overview of the StoreKit API
but could not understand the role of developer's server exactly,
will you please elaborate the role and is it mandatory to have if i need to submit an application ?
Thanks in advance..
...
Hello, I tried to install and run one of my applications on device. On a simulator, it was working fine. But once on device, it crashes somehow. I was trying to debug but i could not get anything there.
Here is what the debugger console shows.. Can someone please help me with this..:
Here is the debugger log:
Program received signal EXC...
I have use below syntax for for set the object.
[dict setObject:eventArray forKey:categoryName];
Now i am trying to get below syntax but i got nothing.
NSMutableArray *tempArrayValue=[[NSMutableArray alloc]init];
tempArrayValue =[tempDict valueForKey:categoryValue];
What is the problem i cant understand can u help me?
...
I am trying to make a standard check box for my iPhone app from a UIButton with a title and image. The button image changes between an "unchecked" image and a "checked" image.
At first I tried subclassing UIButton but UIButton has no -init*** method to use in my -init method.
What is the best way to do this?
Thanks in advance.
...
There is a similar question to this but answer is very general, vague.(http://stackoverflow.com/questions/1587855/detecting-uitableview-scrolling)
Please don't dismiss. I am looking for concrete solution.
I have UITableView which has editable textfield and PickerView appears when another cell selected.
What I need is to hide firstRespon...
I have an NSMutableDictionary.
NSMutableDictionary* plistDict = [[NSMutableDictionary alloc] initWithContentsOfFile:path];
I have to update an element in that dictionary. How i can do that ? Thanks in advance
...
How would I issue DSI Commands on iPhone? DSI Commands are used to communicate with an AFP server over TCP.
http://en.wikipedia.org/wiki/Data_Stream_Interface
Is this something that can be done via NSURLConnection? Thanks!
...
Hello,
I have UITableView in my application.
Attributes: TableStyle = Plain, SeperatorStyle = single and SeperatorColor = black
What I want to do is that, I want to put a image (which a small strip), as separator for the table.
Please help me.
Regards,
Pratik
...
so wonder is it need to be the same picture?
it can use difference picture ?
...
Hi All,
I am trying to store an image in the device through my program. I am able to store the image in the sandbox. After quitting the app when I run it again the address of the sandbox changes so I am not able to retrive it and use it in the next run.
Please help.
Thank You All.
...
Hi all,
I'm wondering whether there is a bossibility to export some selected data from my rails mysql db to a other sqlite db. The aim is to send that sqlite file directly to my iPhone application... That way I don't have to do a lot of xml integration in the iPhone app. That seems to be very slow...
Markus
...