force applied in x axis using UIAccelerometer
I want to determine the force applied or the speed at which the iphone is moved in x axis using UIAccelerometer. ...
I want to determine the force applied or the speed at which the iphone is moved in x axis using UIAccelerometer. ...
I have two views, the first view has an MKMapView on it named ridesMap. The second view is just a view with a UITableView in it. When you click the save button in the second view, it calls a method from the first view: // Get my first views class MyRidesMapViewController *rideMapView = [[MyRidesMapViewController alloc] init]; // Call ...
Hi I want to give access of my app to user for just 3 months. I user want to continue with the app he should pay again for the same. Can anyone suggest me how can I Do the same. Thanks in advance Gurpreet ...
I have a dynamic array of strings, the elements of which I would like to localize. Is there a way to localize the strings without iteration e.g. something like using "makeObjectsPerformSelector". Thank you ...
I have a brand new Objective-C class called test. The test class has an instance variable called someValue, which contains an integer. I create 5 instances of the test class called aTest, bTest, cTest, dTest and eTest. The appropriate synthesize and property declarations for someValue are in place. Is there a clean way of returning th...
Hi all, I am making a game using cocos2d. in that I want to change the background after each second of time. I don't know how to do this in cocos2d. I am having 15 different images and one by one each image will be shown, i.e. after1 second next image will appear. I am new to cocos2d so, If any one can help me??? thank you in advance ...
I need some help with document.location. Basically, I need a button, using document.location, with the URL hide://. Please help! Thanks! ...
Hi Have anyone tried to use the SDK4's SMS composer? If anyone's got some reference or source code please put in here Thanks ...
I have this UIView class. It has 4 Views in it: self.view. The view of the class itself. Above that twitterButtonView that holds: A UIImageView of a button. Above that a hidden view of the back of the button. The self.view has a frame of (30, 380, 68, 66); I want to be able to tab the button and then it scales up accompanied by ...
Does anyone know how to either lock Mobile Safari's orientation to portrait, or to block landscape (via javascript or otherwise)? In other words, I want the web page to remain in portrait mode regardless of the orientation of the device. ...
I have a webview over a scrollview as subview. The problem is that, webview does not scroll vertically, when I try to do so scroll view start scrolling, is there any way to do so that when I touch on the webview it shoul scroll and if I touch outside of webview scrollview should scroll? ...
I am writing a simple library using ASIHTTPRequest where I am fetching URLs in an async manner. My problem is that the main function that I have written to test my lib exits before the async calls are finished. I am very new to Obj C and iPhone development, can anyone suggest a good way to wait before all the requests are finished i...
Hi, for some reason I can't get my tableview to enter editing mode. It's a little harder than it might seem because I'm using some open source code to make a calendar (iCal esque) with a tableview under it, and it's not quite as straightforward as just using a regular tableview. Basically, I have two classes. One (let's say Class A) is...
I have an app which is native iphone code but the client would like me to use a UIWebView to integrate the ecommerce components of their website. This isnt a problem, however I am yet to work out how I can prevent the app being closed and the user being redirected to Safari when any links are pressed within the UIWebView Thanks ...
The AlertView should look like this. AlertView Message: Please provide one of the following parameters to find the doctors. Speciality Location Insurance ...
i'd like to drag the image "finga" inside a region height of 320. this goes off screen: - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event { UITouch *touch = [[event allTouches] anyObject]; CGPoint location = [touch locationInView:self.view]; if (CGRectContainsPoint(finga.frame, location)){ CGPoint yLoc...
I have a json response coming and i need to get all the values whose keys are a particular string... for e.g : www_name, www_age etc are coming in the nsmutabledictionary as keys now i want to search all those values having "www_" as their part of the string. ...
hi frends, Today I have a problem related to uipicker. I want to select multiple rows in picker, so I have an idea to show my data in a table and add this table as subview to picker. I have tried a lot but didn't succeed. Please help if u can?? Thanx Ankit ...
Hi, i have some CALayers one on top of the other with different z-values. the z-values are sequential (1,2,3 ...). i wrote some code that changes the y-rotation of a CALayer when i click on it. the y-rotations changes to -30.f the problem is that when i click on a CALayer it rotates and goes behind the CALayers that are actually beneat...
Hello, I have this View class. It adds subviews to itself and then I want to do a CATransform3DMakeRotation on one of them (the last one added with addSubiew). Its on top but as soon as the animation starts it is underneath the oder views. Here is my CATransform3DMakeRotation code: CABasicAnimation *topAnim = [CABasicAnimation anima...