uikit

ModalView rotation with a thick border (like iBooks app)

controller.modalTransitionStyle = UIViewAnimationTransitionFlipFromLeft; [self presentModalViewController:controller animated:YES]; Is there any way to make it flipping with a thick border/side? (like iBooks app, when you're switching between books view and the books store) ...

How to unit test UIGestureRecognizer subclasses?

Has anyone successfully unit tested subclasses of UIGestureRecognizer? What approach do you use or recommend if so? How do you go about synthesizing events if so? ...

how to renew subviews?

Hello, I want to renew a subview which is created like this: CGRect keyLabelRect = CGRectMake(2, [heightofrow intValue]*i, [breitescroller2 intValue]-2,[heightofrow intValue]); UILabel *keyLabel = [[UILabel alloc] initWithFrame:keyLabelRect]; [Inhalt1 addSubview: keyLabel]; [keyLabel release]; By calling a method, "breitescroller2" g...

SearchController: How to show ALL Entries when searchtext is empty?

I have a working searchview Controller which show me all matching entries when I insert a letter. It's working fine. If the search is empty, the Controller shows nothing. How can I change this? I want that it shows all entries of the filteredlistcontent-array when the searchtext is empty. Therefore I changed the filterContentForSeracTe...

UIWebView with word-wrapping

i have a method which takes a string and converts it into HTML ,which i am displaying in webView .Now the problem is that i have fixed the width of webView to 200 and when words become larger they don't appear.So is there any way of wordwrapping? ...

how do I change auto-generated UIImageViews?

Hello, i create UIImageViews automatically via a for-loop: for (int i=0; i<anzahlzeilen; i++) { Anfanggrau = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"Grauer-Balken.png"]]; Anfanggrau.frame = CGRectMake(0, [heightofrow intValue]*i,[breitescroller2 intValue],[heightofrow intValue]); [Inhalt1 addSubview:Anfanggr...

accessing the navigation controller from separate delegate class

Hi I am follwing a tutorial from a book and there the delegate and datasource are separated from the controller (MyViewController.m) [self setDataSource:[[MyViewDataSource alloc] [self setDelegate:[[MyViewDelegate alloc] for understanding, I now want to pop a controller from the delegate class (MyViewDelegate.m) - (void)tableView:(...

action for selecting an index in an indexed uitableview

Hey, I have sectionIndexTitlesForTableView implemented in my controller class. when I selected an index, I want to have my custom action. Is there a way to do it? ...

UIFont and Diacriticals

I'm writing a iPhone app that needs to render i18n text that includes diacriticals (tildes, accents, etc.). Apple provides the UIFont class which can be used to get a given typeface/font-size combination's leading, ascent, descent, etc. The problem is that this information does not accurately reflect diacriticals. Specifically, diac...

UIPopover without any arrows

Is it possible to present a popover without any sort of arrows pointing somewhere? ...

CALayer Shadows disappearing during a UIView animation

So I'm currently testing out the UIView animations, and I noticed that the shadows rendered by CALayer (using [view.layer setShadowStuffHere]) disappear at the start of the animation and reappear at the end of the animation. Is there any way I can keep these shadows and have the shadows animate along with the UIView? I tried using shadow...

Popover shown from inputAccessoryView has wrong rotation

Does anybody know why a UIPopover or UIActionSheet presented from a UIBarButtonItem in a toolbar in the inputAccessoryView doesn't rotate along with all the other view controllers? The steps to reproduce this are: In an Xcode iPad project, add a UILabel editable text field in IB. Also in IB, add a UIToolbar with a UIBarButtonItem. In...

UIsplitViewController not RootViewController

Hello, I want to show SplitViewController view. But I don't want my SplitViewController as the rootView Controller . I want UInavigationViewController as rootViewController and want to present SplitViewController view after first view. Is this possible ? ...

UITableView with side section header images

The music app on the iPad has quite a lot of interesting custom UI features, one of which is the table view displayed when looking at the albums of a particular artist. It has images along the side of each section, almost acting in a very similar fashion to section header views. If I scroll down, the top image stays there until the next...

Mixing OpenGL and UIKit

Hi! My current iPhone app uses UIKit. Now I want some small effects in the app, for example a text looking like it's blowing up. My idea is to use OpenGL for these effects. Is it a good idea to mix UIKit and OpenGL like this or should I avoid it? I have read some posts saying it's not a good idea and other saying it works just fine. Wha...

Unset a UIView's animation transition

I use the following code to animate a flip transition on a view: [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:1.0]; [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:self.view cache:YES]; [self.view addSubview:anotherViewController.view]; [UIView commitAnimations]; However, when I...

Is it possible to animate the width of a UIButton of UIButtonStyleCustom type?

I have an animation on frame size which works fine when the UIButton is a UIButtonTypeRoundedRect. But has no visible affect when I am using a UIButtonStyleCustom with background image. My animation code is here: [UIView beginAnimations:@"MyAnimation" context:nil]; [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut]; [UIView setAni...

How to shuffle button or title over button?

I have 'n' button. I want to shuffle those button in my application. Or you can say that i want to shuffle the title over buttons. Is it possible.Its an Iphone app. ...

Cocoa Touch - Upsidedown Buttons and Text

I'm making a 2 player game where you play on either side of the iPhone and I need to have upside down buttons. Any ideas on flipping them around? ...

UINavigationBar unresponsive after canceling a UITableView search in nav controller in tab bar in a popover

Ok, this is an odd one and I can reproduce it with a new project easily. Here is the setup: I have a UISplitViewController. In the left side I have a UITabBarController. In this tab bar controller I have two UINavigationControllers. In the navigation controllers I have UITableViewControllers. These table views have search bars on them. ...