Giter Club home page Giter Club logo

Comments (9)

smartbot avatar smartbot commented on June 30, 2024

Not sure if this is the same issue, but it seems that the popover doesn't display correctly in iOS 8.

screen shot 2014-09-15 at 2 45 41 am

from fppopover.

fullc0de avatar fullc0de commented on June 30, 2024

It seems that items of [UIApplication sharedApplication].windows' subviews is changed. First one of items is being used by FPPopoverController to present a popoverview by adding it as a subview.

from fppopover.

smartbot avatar smartbot commented on June 30, 2024

I ended up changing the _contentView frame location (by 30 pixels) in FPPopoverController.m to adjust for the overlap:

_contentView = [[FPPopoverView alloc] initWithFrame:CGRectMake(0, 30,
self.contentSize.width, self.contentSize.height)];

from fppopover.

jneiluj avatar jneiluj commented on June 30, 2024

In FPPopoverController.m
-(void)presentPopoverFromPoint:(CGPoint)fromPoint

I replaced:
_parentView = [_window.subviews objectAtIndex:0];
with
_parentView = [_window.subviews lastObject];

from fppopover.

SoftwareEngieer avatar SoftwareEngieer commented on June 30, 2024

Hi all,

on iOS 8, getting bad access on
-(CGFloat)parentWidth method
return _parentView.bounds.size.width; line.

How can i resolve this crash ?

from fppopover.

IcuScc avatar IcuScc commented on June 30, 2024

Hi to everybody.
@jneiluj your solution is perfect..!! thanks.

my problem was, when i open view controller from tabbar using segue, the popover not show.. with your solution i solve it...

from fppopover.

windfringe avatar windfringe commented on June 30, 2024

@jneiluj thx!

from fppopover.

mvn-tony-hn avatar mvn-tony-hn commented on June 30, 2024

@jneiluj thank so much. I hope this issue will be updated soon!

from fppopover.

ThornDev avatar ThornDev commented on June 30, 2024

In FPPopoverController.m
-(void)presentPopoverFromPoint:(CGPoint)fromPoint

I replaced:
_parentView = [_window.subviews objectAtIndex:0];
with
_parentView = [_window.subviews lastObject];

this is nice!!!

from fppopover.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.