Will using a popup view to present a comment submission form violate the HIGS? I may have one popup with selections that goes to the final popup. Two popups back to back. This is more similar to a modal type of view than an alert or action sheet as described by the HIGS: http://developer.apple.com/iphone/library/documentation/UserExp...
I am using the same ViewController for several different views.
When instantiating the ViewController for a specific view, is there an easy way to specify the tab bar icon via code?
...
I have a UITableView with UIWebViews within the cells for the purpose of displaying rich text. The UITableViews load html strings locally. However, when the table is being scrolled, the UIWebViews do not load the html strings specified in "cellForRow..." until the UITableView stops scrolling. Is there any way to override this behaviour s...
Is it possible to extract the string content of a specific line in a UITextView? Thanks.
...
I have to show a label with font size = 14
when the view is 480x320.
Supposing I would like to do this in a way that my code will be working well for all future device's screen sizes, including iPad and others following (I am sure more will come), what is the best way to do that?
I could do this proportionally, I mean, if the scale in...
I have some custom drawing code in drawRect which also performs some calculation of sizes.
When is the earliest I can be sure that this code has been loaded, e.g. if I want to modify it's containers size accordingly?
...
According to the documentation, if a UIPickerView has no selected value, the expected return from selectedRowInComponent: should be:
"A zero-indexed number identifying the selected row, or -1 if no row is selected."
However, if I check the value the very line after initializing one, its value is 0. Even if I then manually set it t...
#import <Cocoa/Cocoa.h>
@interface PolygonShape : NSObject
{
int numberOfSides, maximumNumberOfSides, minimumNumberOfSides;
}
@property (readwrite) int numberOfSides, maximumNumberOfSides, minimumNumberOfSides;
@property (readonly) float angleInDegrees, angleInRadians;
@property (readonly) NSString * name;
@property (readonly) NSSt...
Could i disconnect to wifi progammatically in cocoa ?
...
What's the easiest way of doing simple pattern matching a la .something.com something.com/ something.com/somefolder/*.jpg in the iPhone SDK? At this point it looks like I'm going to have to use a regular expression library of some sort, which is really overkill when all I need is simple wildcard matching.
None of the standard NSString me...
I am doing this with the following:
[[self navigationController] setNavigationBarHidden:YES animated:YES];
and also I didn't use IB to create view objects. But my view did not auto-resize after hiding navigation bar(there was a blank area where the navigation bar used to be)
I am wondering if I could make it auto-resize only by "set...
In my app, the user can save his input to disk. This is done with NSKeyedArchiver. Currently I simply name my files with a timestamp. But of course, the user may want to load one of them back in to keep on editing them.
What would be the most reliable / safe strategy to keep track of those files? I need to present the user a list of tho...
Is there any way to get the content of a UIWebView and convert it to a PDF or PNG file? I'd like to get similar output to that available on the Mac by selecting the PDF button when printing from Safari, for example. I'm assuming this isn't possible/built in yet, but hopefully I'll be surprised and find a way to get the content from a web...
I would like to store files in a specific directory inside the documents directory, so that I can iterate over all these files and show them to the user for selection. Is that possible?
...
I need to do something similar, where an animation highlights the text of a button to show that it must be slided to do something. Just like that unlock thing on the iPhone. How is that done? Is there a tutorial how to achieve this effect?
...
Hello,
I'm new to iPhone application development. I'm trying to understand how to use UITableView.
I'm wrote simple code:
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
return 1;
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
return 1 ;
}
- (UITableViewCel...
I have a uinavigationcontroller with 2 views. In the second view I have some audio playing. When I click the back navigation item on the navigation bar the audio still plays. How do I end the process of anything happening in the second view when the user clicks back to the initial view.
Thanks for your help.
...
Is it possible to do mass updates on a given entity in Core Data?
Given an Person entity for example, can I do something like this:
Person.update(@"set displayOrder = displayOrder + 1 where displayOrder > 5")
Or is my only option to fetch all the entities needed and then loop through and update them individually???
Thanks
...
Hi,
is there any easy way in the iPhone SDK to include search bars like those in the iPod app or in the Contacts app? (They behave and look unlike the usual UISearchBars ...)
-- Ry
...
I am trying to display a modal view controller as a UIPresentationFormSheet. The view appears, but I can't seem to resize it. My XIB has the proper height & width, but it seems to get overridden when I call it like this:
composeTweetController = [[ComposeTweet alloc] initWithNibName:@"ComposeTweet" bundle:nil];
composeTweetController.mo...