uiview

Anyone know how to make a view that looks like this?

It's an edit screen for a specific item in a table view. Don't know if I'm going to have to make a custom view or not. Feel like I've seen this kind of layout before though...Thanks. http://martyulrich.com/Home/Home_files/help.png ...

Obtain previousLocationInView of GestureRecognizer's view

I am using a UIPanGestureRecognizer to rotate a circle. I need to know the start coordinate of the gesture and the end coordinate of the gesture. Would the start be locationInView and the end be translationInView provided i setTranslation to 0 at the end of the recognition? Eventually i need to calculate the angle between the two points...

UIView event handling confusion

Hi, I'm trying to intercept touch events from a MKMapView. From various discussions around the internet I gathered that it is impossible to get the touch events received by MKMapView directly. So, I created a UIView subclass EventHandlingView that intercepts touch events. So, in my view controller, I first add the MKMapView instance as ...

Opposite of bringSubviewToFront?

As well as wanting a view to be on top of everything, you might want a view to be below everything, but there is no bringSubviewToBack:. Why not and how do I bring a subview to back? ...

Scrolling RSS reader iPhone View

I'm planning on adding a small subview to the bottom of my current app so that it can display RSS feed headlines one at a time. What would be the best type of view to use for this? UITextView, UIWebView? Perhaps a custom UITableViewCell? If i use a UITextView and tap it, it displays the keyboard, but if i setUserInteractionEnabled to NO ...

Animating UIView and its sub layers

I have a subclassed UIView that is comprised of several layers (mostly CAShapeLayers with a few CATextLayers). The problem I have is that if I animate resizing the UIView using an animation block (beginAnimations, commitAnimations) and relayout the sublayers in the overridden layoutSubviews, then the layers are not animated with the UIVi...

How to call the viewDidLoad in different time?

Hi, everyone, I want to ask a question about the iPhone application. In my program, I create the UITabBarController with 4 tabs. The 4 tabs display different information and have some connection. When I do something in the tab 4, it will update some data which display in tab 1. However, the page is the same if I add the element in th...

How would you create a static version of the UIPopoverView?

I tried using a popover in my interface, but all the convenience features of the UIPopoverController made it impossible. My goal is to use the popover's chrome, but none of the associated events or actions. I need it to stay displayed onscreen (no dismissal) and not be modal. So now I'm considering building my own view using images. ...

removing the current view from the tabbarcontroller

hi how to remove the current view displayed on tabbar controller. the view is added using [self.tabBarController.view addSubview:myView.view]. What should be done in myView to remove this view. ...

UIImagePickerController cameraViewTransform acts differently in iOS 4

Hi folks, I upgraded both my iPhone and SDK to iOS 4.0.1 and now my App doesn't run the same way it was running in iOS 3.x. My App uses the UIImagePickerController with a custom cameraOverlayView (which I'll suppress in this post). The main point is that I need to see the iphone camera in fullscreen mode. To go straight to the problem, ...

transmit touch events from uiview to uiwebview

Hi, How to send touch events from uiview to uiwebview without using undocumented methods ? My problem is to hide/show the tabbar and navigation bar when the user touches the uiwebview. this actually needs customization of uiwebview which is not adviced. I am planning to put a transparent view on top of the uiwebview and then recieve th...

iPhone Sdk: Is it possible to add an UIImageView as a file!?

Hi everyone, i was just wondering wether it is possible to add an uiimageview as a .m and .h class file because you can just choose a subclass from uiview or uitableviewcell in apple's templates and it than automatically creates the .m and .h files. Is there a way to do the same for an UIImageView or is it possible to somehow "turn" the ...

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...

UIView removeFromSuperview

The removeFromSuperview method actually pulls off the image very quickly, is there a way to remove it in a animated fashion. thanks ...

How to replicate the Scale Up Animation when an app starts regularly (push app icon on HomeScreen) on an iPhone

Hi, i want to replicate the animation when an app starts on iPhone. There is the first view scaling up from 50 % to 100% i think. later I want to use this as a transition between 2 views. Any ideas how to replicate, or is there a ready to use solution from apple in the sdk? Thank you very much :) ...

sending data to previous view in iphone

Hi, What are the possible ways to send data to previous view in iphone. Without using Appdelegate. Because there are chances for my view class to be instantiated again. ...

how to open a new uiview like a popup?

hi all. i have a tabbar app. there is a button in one of tab. i want to open a new uiviewcontroller by animation like popup when i press the button. popupviewcontroller has a uiwebview. i want to show some web pages in popup view. i designed the popupview in IB. how can i open my popupviewcontroller with animation like FBConnect. FBcon...

Immediate manipulation of UIView animatable properties during rotation?

I am trying to accomplish some complex effects during my UIView rotation, and I'm using the first half/second half method of rotation animations. However, when my second half starts, I'd like to set some properties on my subviews (alpha, frame) etc, from which to begin animating in the second half. But setting any of these properties of...

When resizing a UIView to height or width zero, springs and struts stop working permanently

I'm trying to workaround a long-running bug in Apple's SDK here, but I can't see how to achieve it without huge amounts of code. Here's the bug: Create a view. Put another view inside it, with an origin ANYTHING except (0,0). Configure the subview to resize to fill ...then, at runtime: 4. Set the superview size to zero 5. Set the su...

Block-based UIView animation goes into turbo when view is not visible

I'm using the new block-oriented UIView animation methods to create a sliding-and-fading slideshow inspired by the one that shows up on the home screen of the Flickr application. It's all working very nicely, and I'm no longer intimidated by blocks. Where I'm using this is on a page of my app that's inside UINavigationController control...