Upload

Loading icon Loading...

This video is unavailable.

Xcode Tutorial - UIPopover on iPhone!

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to like Max Litteral's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to dislike Max Litteral's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to add Max Litteral's video to your playlist.

Published on Dec 24, 2011

-- Warning: Apple may reject your app if you use this code, around the time of this video i submitted a app and updates to it with this code with no issues from Apple but they could have cracked down on using this now or I was just lucky --

This tutorial will show you how to display a popover, just like the iPad, on the iPhone with about 5 lines of code!

This code was written by @hamzasood
===============================
=====popover code===========
=============================
@interface UIPopoverController (overrides)
+ (BOOL)_popoversDisabled;
@end

@implementation UIPopoverController (overrides)

+ (BOOL)_popoversDisabled { return NO;
}

@end

========================

  • Category

  • License

    Standard YouTube License

Loading icon Loading...

Loading icon Loading...

Loading icon Loading...

The interactive transcript could not be loaded.

Loading icon Loading...

Loading icon Loading...

Ratings have been disabled for this video.
Rating is available when the video has been rented.
This feature is not available right now. Please try again later.

Loading icon Loading...

Loading...
Working...
to add this to Watch Later

Add to