Note that there are some explanatory texts on larger screens.

plurals
  1. PODraggable/tabbable UIPopOverController?
    text
    copied!<p>I don't know if you people are familiar with the Blackboard Learn app for iPad. Well it has PopUp windows to show info.</p> <p>Well, I would like to implement something similar on a iPad app, and I was wondering if it is possible to doit with UIPopOverControllers...</p> <p>Basically you can open a view and drag it around and keep it on a border of the screen as a tab to show updates and so.</p> <p>Is it possible to do something similar with UIPopOverControllers or UIViews (the dragging and the tabbing)?</p> <p>Cheers from Mexico</p> <hr> <p>UPDATE 1:</p> <p>Well, I managed to load multiple UIViews, next thing goes to be able to drag 'em around, any suggestions?</p> <hr> <p>UPDATE 2:</p> <p>I tried to add the UIPanGestureRecognizer in otherView.m (the Pop Up Window), here's how it looks</p> <p>otherView.h</p> <pre><code>@interface otherView : UIViewController &lt;UIGestureRecognizerDelegate&gt;{ UIPanGestureRecognizer *drag; } @property (nonatomic, retain) UIPanGestureRecognizer *drag; ... </code></pre> <p>otherView.m</p> <pre><code>- (void)viewDidLoad { [super viewDidLoad]; // Drag drag = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(dragAction)]; [self.view addGestureRecognizer:drag]; [drag release]; } </code></pre> <p>otherView is displayed in mainWindow directly from the appDelegate</p> <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after app launch. // Set the view controller as the window's root view controller and display. //self.window.rootViewController = self.viewController; [window addSubview:viewController.view]; [window addSubview:secondView.view]; [self.window makeKeyAndVisible]; return YES; } </code></pre> <p>Hope you can help me out</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload