Popovercontroller for Iphone

I was searching for a good community control for the popoverviewcontroller seen on the ipad.

I present to everyone, .

It was so simple to get started with the above and you can remove the complexity in the developing customize UI and get along with your actual development work.

Steps to get it working.

1. Add the following files

  • FPPopoverController.h
  • FPPopoverController.m
  • FPPopoverView.h
  • FPPopoverView.m
  • FPTouchView.h
  • FPTouchView.m
  • ARCMacros.h

2. Add the following codes in your IBAction event.

ViewController *content = [self.storyboard instantiateViewControllerWithIdentifier:@"home"];


FPPopoverController *popover = [[FPPopoverController alloc] initWithViewController:content];
popover.arrowDirection = FPPopoverNoArrow;


[popover presentPopoverFromPoint:CGPointMake(self.view.center.x, self.view.center.y - popover.contentSize.height/2)];

Lastly, do check out the demo included in the git checkout!

Disable Google Chrome Outdated Prompt

Firstly, I am a Big Fan of Google Chrome and its have been my favourite browser choice.

But this little message box on Chrome have been bothering me a lot lately. To remove the outdate prompt do the following:

–allow-outdated-plugins

Append the above to the chrome.exe in the properties of the file.

If you have it pin to the taskbar like me in Windows

1. Unpin the existing shortcut
2. Run the new chrome and pin in back to the task bar.

[UIPopoverController initWithContentViewController:] called when not running under UIUserInterfaceIdiomPad.’

[UIPopoverController initWithContentViewController:] called when not running under UIUserInterfaceIdiomPad.’

I finally got time to start working on some weekend IOS project and I am starting to get rusty with my IOS language.

Started one of my older project and tried to get going but hit an error i thought was pretty base.

Basically this error is associated with the UIPopoverController and you are running the simulator in iPhone mode and not in iPad mode.

Hope that helps anyone who face the same issue.