I have a table which has roughly 10 cells, 4 different types. I subclassed UITextViewCell because I wanted to have an IBOutlet to a label and to a UITextField. Not sure if that was the best way of handling it, but it works thus far. Next, I had a cell for gender, so I figured instead of subclassing UITableViewCell, I took my already subc...
Hi,
I want to play a movie file or any animation file till the time application not loaded completely.
is there any simple way to do it?
Thanks is advance.
...
I'd like to implement a UITableView which displays say 20 rows at a time. But given the fact that I might actually have say 120 items to present, I'd like to handle this using some sort of paging:
Populate table with first 20 items. When the user does a right-to-left swipe, reload the UITableView with the next 20 items. A left-to-right ...
This is the trace of my app,when I updated my device to 2.2.
any idea to get rid of this leak? because I think that's the culprit who keep crashing my application.
This is trace when I run my application in os2.2,see the image which show the part which might be generating leak,and if you can give me some hints to resolve it, will be gre...
I'd like to put in an UIButton in the center of the navigation bar. Based on the document, it appears I need to set title view, and make sure the leftBarButtonItem is nil. But it is not work for me. Here is the code.
UIButton *btn = [UIButton buttonWithType:UIButtonTypeRoundedRect];
[btn setTitle:@"List" forState:UIControlStateNormal];
...
I'd like one of my table rows to be a button that takes up an entire row of my UITableView. I figured the best way to go about this is to instantiate a UIButton, and give it the same frame size as an instance of UITableViewCell, and add that as a subview to the cell. I'm almost there, but quite a few pixels off to not get that perfect to...
I have a UITextField where the keyboard that pops up has its shift key disabled. The keyboard type is set to UIKeyboardTypeNamePhonePad, which seems like it should allow capitals. If I change the keyboard type to "default" but leave other settings alone, the shift key is active. The other settings are: autocapitalization and autocorr...
I have a simple app loading a site optimized for the iPhone in a UIWebView.
Problem is, caching does not seem to work:
[webView loadRequest: [NSURLRequest requestWithURL: [NSURL URLWithString: url]
cachePolicy: NSURLRequestUseProtocolCachePolicy
timeoutInterval: ...
Is it possible to modify a UIActionSheet with a custom UIView? I have a preferences cell in one of my tables which would benefit greatly from a modal window appearing with a UIDatePicker. Having it appear as an Alert would be fantastic as well. Ideally it would be nice to get the free animation that comes in play with UIActionSheet. Othe...
I have some slow internet task to save and load file, I'd like to do those slow tasks in some background thread. I am wondering whether that's doable, and if it is, any sample code?
Then after it is finished, I'd like it to notice back to the main thread, so that I could update the UI.
Thanks in advance.
// Jack
...
How long will it take to enroll in the iPhone developer program after paying the $99?
Is there anything to do after paying it? (I mean paperwork, faxing or sending physical stuff)
How will Apple pay your revenues? (In what form and intervals, and what will they do if you are not in US?)
...
Hi,
this is the code, which might be cause to generate this exception
NSURL *justURL = [NSURL URLWithString:wJustUrl];//wJustUrl declared in constant file.
//NSURL *justURL = [[NSURL alloc] initWithString:wJustUrl];
NSLog(@"%@",justURL);
//self.justArray = [[NSArray alloc] initWithContentsOfURL:justURL];
self.justArray = [NSArray array...
Does anyone have any best practices, tips & tricks, or recommendations for how to create modal Alert Views with Cocoa Touch?
I like to think there is a way to make this difficult task trivial or at least easier.
...
I'm using an NSTimer to do some rendering in an OpenGL based iPhone app. I have a modal dialog box that pops up and requests user input. While the user is providing input I'd like to "pause" i.e. something like this:
[myNSTimer pause];
I'm using this syntax because I've been doing things like:
[myNSTimer invalidate];
when I want ...
I need to generate a tone that I can manipulate frequency and wave. The overall goal is to create a basic piano. Does anyone know how I can achieve this?
My development platform is the iPhone 2.x
...
Hi,
I'm new to iPhone and Apple development and working on my first application. It simple with only a TableView and a "detail view" when an item in a table is selected.
What I want to do is change the background color of the cell in the TableView based on some action taken in my "detail view".
When the application initially loads I c...
Hi there!
Does any of you have a clue how to alter the contents of Security.framework/TrustStore.sqlite3. It seems as if the iphone uses it to store trusted CA certificates. I really want my iPod touch to trust my custom certificate.
Beside that, does anyone of you know an app (win32) to edit sqlite3 database files (except sqliteman, th...
I'm looking to perform a perspective transform on a UIView (such as seen in coverflow)
Does anyonew know if this is possible?
I've investigated using CALayer and have run through all the pragmatic programmer Core Animation podcasts, but I'm still no clearer on how to create this kind of transform on an iPhone.
Any help, pointers or e...
I know that OpenCV was ported to Mac OS X, however I did not find any info about a port to the iPhone.
I am not a Mac developer, so that I do not know whether a Mac OS X port is enough for the iPhone.
Does anyone know better than me?
Edit: Thanks for the informed answer Adam.
...
There's an open source library that I would like to use for my iPhone app. The library is written in C and compiles with Makefiles. I would like to use a static library.
If I add the .a file to my project dependencies, it works well with the simulator, but it doesn't link when targeting the iPhone SDK (certainly because the .a file is...