I am currently developing an iPhone app, in which involves downloads of up to 300 mb.
I have been told by my hosting service that my server does not support range header requests. However, when I download a file from my server using a download client, like safari download manager, resume options are available and work.
Does this mean ...
How to disable the multitouch capabilities in new iPhone application?
...
Hi
In my App, I need to invoke the native add contact view. Is it possible to do it or do I need to develop my own screen and I need to add the record for the contact database?
...
In the iPod app, the navigation views have the default status bar style, and the Now Playing view is in the black style. The transition between them is animated with a crossfade. I want to do that.
My first attempt:
[UIView beginAnimations:@"whatever" context:nil];
[UIView setAnimationDuration:0.5];
self.navigationController.navigation...
This piece of codes segment fault on me, any idea why? allButtons is a NSMutableArray, it contains 3 objects, a=0, b=1, a and b are int type
if(a != -1 && b!= -1){
//Swap index in "allButtons"
id tempA = [allButtons objectAtIndex:a];
id tempB = [allButtons objectAtIndex:b];
[allButtons replaceObjectAtIndex:a withObject:...
Hello,
I have created Window based application with tab bar controller as root controller. Two tab bar has navigation controller which interface with view controller, and one tab bar is directly interface with View Controller.
Here, Once application start, it first execute -ViewDidLoad of 1st tab bar interfaced viewController and load ...
In an application, i saw that they used to display pictures of vehicles. But what was amazing was when we touch and swipe in that picture, it rotates in 3d way left and right. And from the front view we can rotate and get to see its back view also. It is a very good feature and i was trying to replicate it. But couldnt get an idea of how...
Is there a simple way to place a detail disclosure icon on a UIButton? I'm using a navigation controller and I want a button press to push a new view on the stack, so I thought a detail disclosure icon would be appropriate, but I haven't found a straightforward way to do that yet.
What I have in mind is something like the "When Timer En...
Let me first describe the context of the problem. I have 2 UIViewController call AdminViewController and ButtonReorderViewController. AdminViewController contain 1 button. ButtonReorderViewController contains 1 button and 1 picture. Button in AdminViewController tie to an event call goToReorderButton. The content of goToReorderButton are...
How can i get a table view in which whn i click on a cell a text view should expand just below that cell it should look like clicking on a button an it will create a text view in between clicked button and its below button...
i m trying to create a pictorial view...
tabel view:
button 1 >
button 2 >
button 3 >
table view:
...
i have used accelerometer..
but what should i do to detect hosrizontal shake of device?
Thanks in advance..
...
I started my app using the original OpenGL ES template that came with the 2.2.1 sdk. I added the touch callbacks and everything worked fine
but I have now migrated my project to the new OpenGL ES template that came with the 3.1.3 sdk, and everything works fine except now touches that begin above the screen, dragged onto the screen no l...
Hello all,
I have a CATiledLayer into which I render content in the following method
- (void)drawLayer:(CALayer *)layer inContext:(CGContextRef)ctx
I used the QuartzDemo code to draw a pattern. This works very well until I apply a rotation transform to the layer's parentLayer (a UIView):
rotated:
These zigzag artefacts become w...
If i want to show userLocation on the map, and at the same time record the user's location, is it a good idea to add an observer to userLocation.location and record the locations, OR should i still use CLLocationManager for recording user location and use mapView.showUserLocation to show the user's current location (blue indicator)? I wa...
How does this condition work? I'm unable to comprehend this.
if ([newLocation.timestamp timeIntervalSince1970] < [NSDate timeIntervalSinceReferenceDate] - 60) return;
Reference: More iPhone 3 Development - Tackling iPhone SDK 3
...
I'm saving my image to photo gallary , but I want to fetch this image on click of UIButton and want to show it on the UIImageview or UIview.My code for saving image on photo gallery is as under:-
I don't want to use UIImagePickerViewController any where in my programme
UIImage *image = [UIImage imageNamed:@"flower.png"];
UIImageWriteTo...
Hey guys,
i have some difficulties to understand this scénario ...
i create an object
i set its retained property to something
i Forget to release its property
i release the object
as i didn't release the property in the dealloc
method, Will the scénario result in a memory leak or Will the property be released automatically ?
And ...
SOLVED
I misspelled the property department -> Department.
Thanks for the answers and a big SORRY
Hi,
Imagine the obvious model of employees and departments, where each employee must refer to a single department, and each department may have none to many employees.
For Employee I have a pointer to Department, and I set its value to ...
Hi there, I am working on an iPhone app at the moment and I am struggling with some animation.
Basically I have 109 frames for dragging about a man on screen, so what I am doing is listening for touches, and calculating which frames I need to switch to.
This works all well and good, but after a while I get a memory leak and the app cra...
Hello all,
I am trying to make a button that response to single and double tap. I am trying to do this using myAction method. The problem is that first time when I press the button the method myAction isn't called.
Can somebody tell why this happening and how can I fix that?
-(IBAction)myButton:(id)sender{
UIButton *theButton = (UI...