uikit

Navigation Controller that doesn't use the whole screen

I have a navigation controller which I don't want to use up the whole screen. In particular, I want to put a logo image in a bar at the top of the screen. Unfortunately, the navigation controller doesn't seem to be designed this way. In interface builder, I can't make it take up part of a screen. How would you achieve the effect of a log...

Which text rendering framework should I use?

Hi all, I'm currently scoping out a project for the iPad which is rather text and font heavy. There are many pages of styled text, which also need custom fonts. I have toyed with the idea of simply rendering PDF or PNG files on-screen, but I think we need to be able to dynamically repaginate the text. We've used UIWebView in a previous...

Custom UITableViewCell subview layout

I'm creating a custom UITableViewCell, similar in style to UITableViewCellStyleValue1 but with an editable text field on the right side instead of the detailTextLabel. I'm a little confused on how to size the edit field properly. I want to take the length of the textLabel into account, as well as the size of the contentView, and be abl...

Parent UIScrollView detecting child UIView's touches

Basically... I have a UIScrollView subclass which you can add a target and selector too, which get fired if a touch event is detected within the view. I am using the scroll view as an image gallery, and the touch inside the scroll view is used to fade out the HUD components (UItoolBar, etc): @implementation TouchableScrollView - (voi...

iPhone - Making a Tab Bar Transparent

How do I make a tab bar transparent in cocoa touch? Thx Evolve ...

iOS Mail Message View like UIWebView

The Mail Message View is as I see it a scroll view with a container, the container again has a header (including the from, date, and subject field) and the content webview. Now when you zoom in the webview, the header stays at the same place and size. Is it possible to do a view like this with the public APIs? I see as problem that th...

After dismissModalViewControllerAnimated the parent view is set to fullscreen

Hi. After every dismiss off a ModalViewController the parent view is set to fullscreen. Why? Before After +----------------+ +------------------+ |head | | detailview | +----------------+ | | |detailview | | | | | | | | ...

Batch insertion of Rows

Hey guys, i read about Batch insertion and deletion of rows in the apple documentation,but didnt get a clear idea of it's use. For example can i use it to add a few rows(animated) when the user taps on a row in the table,like a drop down list??Can somebody explain it to me or give a reference as to where i can find a tutorial?? ...

Custom Crop Size in UIImagePickerController

I've been struggling with this for awhile now, since there is little documentation on the subject. I have a UIImagePickerController in my iPhone application that I use to select an image to be applied as the background of a view later. This is easy enough to do. Unfortunately, if a user selects a large image from their camera roll it nee...

does UITableViewController have special behavior when being popped off a UINavigationController stack?

I've got a bizarre what-seems-like-a-over-release issue in a tab bar application. My advance apologies for the complexity of this problem description. Hopefully a little example code will help. I have my application delegate MyAppDelegate set up as the UITabBarControllerDelegate: - (BOOL)tabBarController:(UITabBarController *)tabBarC...

Get UILabel out of UIButton

I have an UIButton to which an UILabel was added as a subview. Is there an easy way to get the UILabel back out of it so I can change it's title ? ...

How to get all the UITableViewCell from UITableView?

Hi Guys, I have a list reusable UItableViewCells. As what I want: after selecting one of the cells, the app should update the images on each Cell. For solving this requirement, I use method visibleCells to fetch all the cells from UITableView, and update the images in each cell by iterating the returned cell array. But the problem is:...

UIImage+Resize.h - wrong affine transformation given for UIImageOrientationUp orientation

For the UIImage resize I used the following class. http://iphone.svn.wordpress.org/trunk/UIImage+Resize.m But I am having issues in some iPhone orientation where I keep the phone in lined with a vertical surface. It does the resize properly but the image is not properly affine transformed. The image orientation is different. I logged t...

Selector sent to parent instead of self

Typically when creating an action from something like a button you have this [button addTarget:self action:@selector(method:)... I can guess if I want to send the action to another class but what if I want to send it to the parent? I thought super might work but that gives a warning. EDIT:And super crashes the App Cheers for any hel...

Grouped UITableView Interface Builder Examples/Tutorial

Hi, I'm having an immense amount of trouble figuring out how to populate a Grouped UITableView with custom UITableViewCells. Could anyone point me towards a tutorial on how one might do this? Or does anyone have an example of what a cellForRowAtIndexPath method would look like when creating a Grouped UITableView with custom UITableViewC...

Warning: UITableViewCellContentView is implemented in both MyApp and UIKit ??

Hi, I don't know how to get rid of this warning. MyApp behaves strange sometimes and I wonder if this is the cause. (BTW: This app is kind of old, and I am trying to update it.) Class UITableViewCellContentView is implemented in both /Users/nacho4d/Library/Application Support/iPhone Simulator/4.1/Applications/7B19E973-1AE1-...

problem in adding uiactivity indicator in uitableview controller

Hi i am not able to add uiactivity indicator in uitableview controller, can someone help me out I am having a table view controller now on click event of cell in table i want to display activity indicator because on click event of cell it takes 3 to 4 second of processing , so i want to display activity indicator at that time but whe...

How can I output tables to a PDF file with the iPhone SDK?

I want to output a PDF using UIKit's PDF creation methods. I see plenty of information on the web about creating a graphic context in a PDF, but I want to create smart text tables whose cells the user can later copy and paste into other applications (Word, Excel, etc.). How do I do this? Thanks. ...

UITableView Scroll slowly

i got the problem in my apps, i have UITableView and it's scroll slowly, not as fast as the other application, even i didn't create any object or add subview in my table this is my code : - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *searchingIdentifier = @"...

What is with Objective C Nib Files?

Do Nib files automatically initialize certain properties? In most objective-c code I've seen, you initialize a pointer with: MyObject* obj = [MyObject alloc]; [MyObject doStuff]; [obj release]; However, with certain objects (like ViewController Subclasses) UIView objects are used without being initialized, and aren't ever released. D...