hi all,
i am new to iphone programming.
i want to read the content of text file which is located in subfolder of Resourse folder
Resourse Folder Structure is following
Resourse
Folder1---->Data.txt
Folder2---->Data.txt
Folder3--->Folder1----->Data.txt
There are multiple file named "Data.txt". so how can i access each folder file.
i...
I want to convert this ,
NSString *result1=@"Mon, 28 Sep 2009 06:35:42 PDT";
to nsdate using NSDateFormatter in iphone....
Can anyone help me?
Thanks in advance.....
...
Hello I have recently uploaded an application to the app store and it got approved. The issue is the application has been compiled using the 3.1 sdk, and thus is not working on 3.0 devices. Would there be any problems if i resubmitted the application compiled using the 3.0 sdk? (I want to support 3.0 because a lot of people still have no...
Hello all,
We are in the process of developing an iPhone web app using extensive jquery AJAX calls to extract data from an XML web service. When developing and testing on my Mac on Safari, the calls work beautifully. Problem is, as soon as we test on the iPhone emulator, or on the actual device, we are not getting anything back from t...
On an iPhone 3GS, the image captured by the camera has 2048x1536 pixels. If my math is correct, opening this image on a CGLayer will consume 12.5 MB.
Springboard will terminate any application that reaches beyond 12 mb (at least this is what happens to me).
Manipulating this image with a function like CGContextDrawLayer will consume an...
Is there a standard/accepted way of making image buttons the "iPhone" style? i.e. with the gloss highlight and rounded corners.
...
I am getting a UIColor returned from this method:
- (UIColor *)getColor {
return [UIColor colorWithRed:redSlider.value green:greenSlider.value blue:blueSlider.value alpha:1.0];
}
and getting color like this:
SelectedColor=[(ColorPickerView *)alertView getColor];
Now I want to get red, green, blue from SelectedColor, in order to...
Hi! i recently faced a interesting issue in creating a app on iphone with a map view.
the data provided to me have have some items having same or nearly same lat and lng. So while plotting them either they overlap or are so close that i have to zoom to a greater extend to click on them.
i check all the apps with map on them and found a...
Is there any way to customize the appearance and size of a keyboard.
Any help !!!
Thanks in advance!!!
...
Hi,
I need great video tutorial for using webservices in iphone objective c.My requirment is already values are in webservice, so just i want to access the webservice and validate username and password and return back to true or false get value display on the iphone.
If anybody have idea about tutorial please help me out..
...
When I put my iPhone on the table while running my application it crashes the second after I pick it up.
Below is the crash log. (EXC_BAD_ACCESS)
objc_msgSend
-[UIWindow _shouldAutorotateToInterfaceOrientation:]
-[UIWindow _updateToInterfaceOrientation:duration:force]
-[UIWindow _updateInterfaceOrientationFromDeviceOrientation]
-[UIWi...
hello,
On reading the iTunesConnect_DeveloperGuide.pdf, i came across the term binary. This is the paragraph found in the pdf:
To submit your application through iTunes Connect and get it posted on the
App Store successfully, make sure you have the following:
Application binary (includes 57px icon), large 512px icon for use on the Ap...
how do i draw line when moving finger across screen in iphone using core graphics.
...
This:
UILable *myLabel = [[UILabel alloc] init];
UILable *myLabel = [[UILabel alloc] init];
gives me a redefinition error.
But this:
for(i=0;i<5;i++)
{
UILable *myLabel = [[UILabel alloc] init];
// some label code here
[self.view addSubview:myLabel];
[myLabel release];
}
doesn't. So...
In my app, I have a NSDictionary whose keys should be instances of a subclass of NSManagedObject.
The problem, however, is that NSManagedObject does not implement the NSCopying protocol which means that no Core Data objects / instances of NSManagedObject can be used as dictionary keys even though the -[hash] method works fine for them....
how do we do stretch,pinch,swirl effect on uiimage using core graphics..?
something like this .this screenshot was of application named PhotoTwist
...
I am trying to show minus symbol when I show data from an sqlite database, but if we show an edit button it shows a delete symbol. I am using navigation controller to show data. I want to show when the page loads, it must be with a "-" symbol without edit button? Does anyone have an example or tutorial?
...
Hi guys,
I have a MKMApView and given a region I would like to get it's boundries (in GPS values - I would like to get the GPS coordinates of the top left point, top right etc).
The region is represented as a center with MKCoordinateSpan. Now I have already tried to convert the region to a rect, get its points and then convert each po...
I find myself using a combination of global vars and nsrunloop to force synchronization throughout my application. Although it works it seems a bit ugly to me. Is there any other way of achieving the same result?
Here's a typically example:
ParkingSpots *parkingSpots = [[[ParkingSpots alloc] initWithMapViewController:self] autorele...
I have a button that triggers a mpmovieplayercontroller to play out some streaming audio. When the controller is playing everything works as expected and i see the grey quicktime background. However when i stop the player and press the button again, i still hear the audio, but the background is now black. However if i switch to a vide...