How can I have a UIView slide out from under a UINavigationBar?

You're adding notificationBar on top of all other views in your window. You need to add it as a subview of the nav bar's superview, below the nav bar.

You're adding notificationBar on top of all other views in your window. You need to add it as a subview of the nav bar's superview, below the nav bar. Let's say your UINavigationBar is in a property self.navBar.

Try this: - (void)showNotificationBar { CGRect frame = CGRectMake(0, 0, 320, 44); frame.origin. Y = CGRectGetMaxY(self.navBar. Frame) - frame.size.

Height; notificationBar. Frame = frame; self.navBar. Superview insertSubview:notificationBar belowSubview:self.

NavBar; UIView animateWithDuration:0.5 animations:^{ CGRect frame = notificationBar. Frame; frame.origin. Y = CGRectGetMaxY(self.navBar.

Frame); notificationBar. Frame = frame; }; }.

A quick look at this and it looks like you want to research how to "Mask" a layer. Take a look at this post. "Masking" an animation?

IPhone SDK If you were to mask your drop down menu under a view (a hidden view) you could get the animation to show without looking like it came from above your navigation bar, but below it.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send