I am working on iPhone application. And I want to create popover controller for my app. It is only available for iPad applications. Please help.
You can do it, i have live app with with popover in iPhone. Just You have to create interface for popover
NSObject+UIPopover_Iphone.h
#import <Foundation/Foundation.h>
@interface UIPopoverController (overrides)
+(BOOL)_popoversDisabled;
@end
NSObject+UIPopover_Iphone.m
#import "NSObject+UIPopover_Iphone.h"
@implementation UIPopoverController (overrides)
+(BOOL)_popoversDisabled
{
return NO;
}
@end
and now just import NSObject+UIPopover_Iphone.h
in your Viewcontroller.h
for Reference check this Link
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With