NSData not working correctly
NSData *myRequest = [NSString stringWithFormat:(@"&site=%@&key=%@",tmpSite,tmpKey)]; Why is this not working ? Thanks ...
NSData *myRequest = [NSString stringWithFormat:(@"&site=%@&key=%@",tmpSite,tmpKey)]; Why is this not working ? Thanks ...
Hi, I have a uiscrollview and i am showing some dynamically generated uiimageview over it. Now i want to do an action on touch at any of these images. I tried using touchbegn method but it is not being called. Please advice me what i am doing wrong. int numofRows = [arrMyPhotos count]/3; if([arrMyPhotos count]%3>0) numofRow...
I need help with this I tried for a long time trying to solve this error each time I attempt to use the iPhone Simulator to connect into the internet. I kept getting this error. Directory Listing Denied. This Virtual Directory does not allow contents to be listed. the website im connecting to? http://www.youtube.com/ How do I solve thi...
Hi there In the iTunes app on the iphone there is a list of songs or something. They are in a grouped tableview and the first image has a curved corner to match the top left corner of the grouped tableView. How would I go about replicating this (and the one at the bottom?) Thanks Thomas ...
Hi, I wanted to know does iPhone and iPad gives support for three and four finger touch? I have browsed a lot but i do get information only for Mac book touch pad ...
Hi all, Apologies for the long post and I hope it makes some sense to someone out there. I have written an iPhone game (in Quartz 2d) which uses the following structure : App delegate loads a view controller called gameviewcontroller and its associated view In the "View did load" method, the gameviewcontroller starts up and initiates...
I'm using media player framework in my application to play a video. I'm successfully showing the video in my app. I'm using properties of media player and hiding the default controls. Now, on touch of media player, i want to show a button that will replay the same video at the end. How can I detect touches on media player and implement r...
i am developing an application in which i am trying to record a video using AVCaptureSession class...i came across a few good tutorials like this one http://www.benjaminloulier.com/posts/2-ios4-and-direct-access-to-the-camera but in these tutorials only capturing images from the video frames is done while i want to record a full le...
Hi For my iPhone app I'm creating some rotating gears with the help of some subclassed UIViews. I have created subclasses that rotate themselves triggered by a timer. In one place I have one of these subclasses within another one (so rotation within rotation, think moon rotation around earth and it's own axle). It all rotates fine an...
Hi, I have an application in which I have to hit many web services in same class and from another classes also and I have to parse the data each time.I cant write the delegate methods for webservice hit and XML Parse everytime as its not a good programming practice. So I thought of maintaining common classes for 'webserviceHandler' and ...
Built an iPhone app that generates a random number to a label when a button is pressed. Simple, just to learn new skills. it works fine, but any value i put doesn't seem to limit the value of the random number generated. it's always 9 digits. -(IBAction)genRandnum:(id)sender { NSNumber *randomNumber = [NSNumber numberWithInt: (ar...
I am getting memory leaks pointing to the line "NSDictionary *dw = [NSDictionary dictionaryWithContentsOfFile:path];" by using following code NSDictionary *_allData; @property (nonatomic, retain) NSDictionary *allData; @synthesize allData = _allData; + (NSString*)getNSPath { NSArray *paths = NSSearchPathForDirectoriesInDomains(...
How to create Grid of Buttons on iphone. 10/10 matrix... I found NSMatrix for MAC ... Not for iphone... any alternative way to create grid of button on my view. @Thanks in advance. ...
How to resign virtual keyboard for text view? is there any way same as textfieldshouldresignresponder? ...
Hi all. I am sending argument from my iphone application to php page to genrate xml given below. feedurl=@"http://www.abc.net/feed/index_clatest.php?more=s-laday gaga"; The url run in mozila when it runs. but when i run it in my iphone application i get the following error. erminating app due to uncaught exception 'NSInvalidArgumen...
How many tab I can add on one tab bar controller ? ...
Hi, I have picker view with only one component, and 5 values in the component. I could get the number of wheels , and values in the component, as below var picker = window.pickers(); UIALogger.logMessage("picker array count: " + picker.length); var pickerWheels = picker[0].wheels(); var pickerWheelsValues =pickerWheels[0].values(); ...
UIImageView *tblBG = [[[UIImageView alloc] initWithFrame:self.view.bounds] autorelease]; tblBG setImage:[UIImage imageNamed:@"evt_det_bg.png"]]; self.tableView.backgroundView=tblBG; I want this background view will be scrollable.Now its positioned in same place. Thanks ...
Hi! I'm quite new to Iphone SDK and I have been trying to solve a problem for some time now, but I can't get it to work properly. My problem boils down to transiting from one video to another seamless. That is no flickering or stop of the video when transiting. I've tried a bunch of different solutions. MPMoviePlayerController, AVPlaye...
I would like to have all my data on a server be streamed into my iphone app. How does this work? e.g. images, text and sound Should this be read into an array and then manipulated? As I would like the app to be update-able whenever new content is added to the server. This obviously means building the app in such a way that it won...