How can I customize UIPopoverController view on iPad? - ipad

I am looking for a solution to customize PopoverController view in my iPad app. I need to remove the pointing icon along with the popover view and to make the view to the middle of the App window. It should go back to the button from where it is popped when we click on anywhere other than the popover view. USA TODAY app in iPad included such an option. I am not sure about how did they implemented it.

You would need to create your own custon view and animate your self. There is no Appple provided solution

Related

Common bottom view which is Present in all other views and it is pull-able in iOS

I want to Show a common bottom view,which is present in all other view controllers even Navigation view doesn't hide this bottom view and this view has pull-Up, Pull-Down animations For Example Gaana App in AppStore
You can either add the button on keywindow of the app or make different view and call it on a single viewcotroller
second one is better than the first.
I recommended use This library some modification you get you want click here

iOS popover with a close button outside

I need to create below thing
Currently i'm using WYPopover , but I can't create the button since it's outside of the popover. Is there any existing solution out there ? Many thanks
Create a bigger popover UIView holding all your child elements (current popover + button) and make its background transparent or however you wish.
Popover-controller's are exclusively used in iPad. If you want to use in iPhone, you should create it in a custom way.
I am not familiar with the XYPopover in Github, but normally the custom created popover should be dismissed whenever the user taps any place in the screen. That is one of the key feature of the popovers.
Normally the custom popovers are build like, adding a hidden parent view and then the visible image of a popover frame on it.
You should to do the following,
Avoid dismissing the parent view on tap of parent-hidden-view.
Add a close button at the area where you want to show the close button, on top of the parent-hidden-view.
Capture the button click and dismiss the view (remove the view from superview)
How to customize your need
Creating custom popover view is not a big task. It will take maxim one day, try it your self.
One Parent view with clear color
One background image of a popover frame.
View-inside popover (this needs to be customized for UIPopover also).
Close button.

How to get facebook like sliding menu without using third party files in ios?

I'm struck to implement it. I want to display a menu, which is already pushed into navigation controller. I know i have to use transition with animation method in which i have to increase the width from 0 to required value. But this is not helpful coz navigation controller takes care of presenting VC when we pop it. So how to implement it in ios?
Use a separate UIWindow for the menu, so you do not interfere with the UINavigationController.
You can have the menu behind your content window and move the content window to make the menu visible.

UIPopoverController over UIPopoverController

I have a main view with a button, when clicked will open a UIPopoverController, in a UIPopoverController there is another button which should open another UIPopoverController. Is it possible to do?
As per Apple says you should not use UIPopoverController over UIPopoverController,
Instead you can use UINavigationController in side UIPopoverController.
Edit:-
rmaddy's Comment
From the "iOS Human Interface Guidelines": Ensure that only one popover is visible onscreen at a time. You shouldn’t display more than one popover (or custom view designed to look and behave like a popover) at the same time. In particular, you should avoid displaying a cascade or hierarchy of popovers simultaneously, in which one popover emerges from another

iOS connect my view to popup on button press

I have two xibs, one is my title screen with buttons, the other is a more specific window that should come up when one of the buttons is pressed.
This isn't switching the whole screen, just a popup window, where clicking outside of the bounds of that window will make it disappear leaving only my title screen remaining as it was visible behind this popup view. This is similar to my understanding of "modal views".
Anyway I do not quite get how to connect it to the button on my title screen. I have the views made in IB ready to go. I'm not sure if I have declared all objects to satisfaction yet.
From what I understand I think I need a UIViewController or something, but its all a pretty thick fog of information right now
insight appreciated, or links to proper noob sources would be helpful
Does your title screen have a view controller (or is your app delegate the main controller object)? You will want to add an IBAction to that object, connect the button to it, and then present your other view controller modally (or in a popover) from there.
A popover will appear in a small window with an arrow, and tapping outside will close it. A modal view controller typically slides up into place, and you have to press a cancel button to close it. This guide explains how to use a popover. Using a modal view controller is simple if you have a view controller: [myViewController presentModalViewController:nextViewController animated:YES].

Resources