Hello
I have a TableView on my View. I somehow do not have a Navigation bar. I only have UIButtons and I want one of my buttons to do exactly what the editButtonItem.
How must I proceed to do that?
...
Hello. Here's a block of code that has leaks...
NSString *filename = [NSString stringWithFormat:@"%@.png", sketchID];
CGImageRef imageRef = CGBitmapContextCreateImage(paintView.canvas.mBitmapContext);
UIImage* image = [[UIImage alloc] initWithCGImage:imageRef];
NSData* imageData = UIImagePNGRepresentation(image);
Where are they?
In...
Does anyone know how to modify the code Speak Here from Apple. I need to modify it to record streaming audio using Matt Gemmell AudioStreamer classes but somehow I can't find how to select the recording source...
Could you help?
...
I have an app that is a game, and it does not look or work right in Landscape.
Right now My code is:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Overriden to allow any orientation.
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}
And that allows it only to run i...
Using iOS 4, what's the quickest way to obtain the user's current location (assuming they grant it to you) and use it to obtain the current weather conditions and forecast?
I'm mainly interested in solutions that don't have any licensing restrictions and don't use APIs that will ban the app from the app store. Many of the other relat...
Quick question, Instruments is reporting a leak here...
MyViewController *myVC = [[MyViewController alloc] initWithNibName:@"myView" bundle:nil];
[self.navigationController pushViewController:myVC animated:YES]; //<<<<---- !00% leak according to Instruments
[myVC release];
I understand the myVC is retained by the nav controller,...
Hi all,
I need to get the statistical details( memory details, object allocations etc.) , when my app is running on the actual device. Not in the simulator. Is there a way to attach the instruments or some other tool to device? ( When i build and debug on the device from xcode).
Is it true that memory details that shown in the simulato...
Hi everyone.
I am writing a SplitView iPad app. Inside the DetailViewController, there's a little view that contains a UITableView and a UISearchBar and its controller. This view does not represent the whole screen space reserved for the DetailViewController. Actually, it uses just half of it. There's an UIImageView on the other half.
...
Basically, imagine this. i have an iPad , a Windows computer with apache http server which is hosting an xml file, and a wifi network that connects them both together
The xml parser im using is NSXMLParser
in my - (void)parseXMLFileAtURL method this is my code
NSError * error;
NSURLResponse * response;
NSMutableURLRequest *requ...
I created a calculator class that does basic +,-, %, * and sin, cos, tan, sqrt and other math functions.
I have all the variables of type double, everything is working fine for big numbers, so I can calculate numbers like 1.35E122, but the problem is with extremely small numbers. For example if I do calculation 1/98556321 I get 0 where ...
Hi all,
I'm using Activity monitor to measure performance in my iPad app, in addition to Instruments. There are 4 columns which I cant understand.
Real Memory,Private memory,Shared Memory and Virtual Memory. Do you know the meaning of these 4 terms and which one I should use?
...
I want to make a sticky header like this url: http://www.cssplay.co.uk/layouts/fixit.html has done!
But put this url on Safari of iPad, it also fails to fix the header.
Does anyone knows how to do sticky header on iPad Safari?
Thanks in advance!
...
In a UIViewController am detecting the view's change in orientation using didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation. I then load a nib that corresponds to the correct device orientation using [[NSBundle mainBundle] loadNibNamed: owner: options:]. Works ok, but is a little clunky looking. Is the...
HI there.
I've tryed to develop a little magazine reader for IPAD
I use a subClass of CAtiledLAyer whit drawInContex Method and I draw the pdf pages into a scrollView.
So i've 2 problem,
1-when i try the app whit simulator all work fine but when i try the app on ipad the layer drawing it's slow ,
2-the memory usage allways increases a...
Hello Guys,
Can I set initial play back time in MPMoviePlayerViewController(means movie should start at 30 seconds). I am using MPMoviePlayerViewController to play movie on iPad.
Thanks
...
hey, I'm trying to make a accordion menu in Objective-C for a iPad app. The only thing I know is that I should look over core animation.
Couldn't find anything helpfull.
Can anyone help me ? at least give me a few pointers.
...
Hi , every one i create persian custom keyboard.
I am using this code :
NSString *text = textPad.text;
NSRange selectedRange = textPad.selectedRange;
text = [text stringByReplacingCharactersInRange:selectedRange withString:@"A"];
textPad.text = text;
textPad.selectedRange = selectedRange;
but the problem is when user type a word for...
I am attempting to create a simple web app for iPad which needs to be used in places with no internet connectivity. The app is essential a simple "slideshow" but also includes some video files (typically around 100MB.)
Initially I was planning on using HTML5's offline manifest caching to sync the assets to the iPad's memory when interne...
Hi Everyone,
So I am trying to write an app that does a person search of my company. When it returns a result, I want to include a feature to add the person to the iPad contacts app with the push of a button. The problem is I can't find a way to launch the contacts app through a custom URL scheme with the person info as parameters. Do...
Hello folks,
I have a UIPopoverController which loads with a custom controller which is a subclass of UITableViewController. It serves to present a number of suggestions, under a search bar.
When my popover opens the UITableView inside it show as many rows as possible; the first ones show the choices I set up, the last ones are blank. W...