SwiftOverlays icon indicating copy to clipboard operation
SwiftOverlays copied to clipboard

iPhone X display

Open namanhams opened this issue 7 years ago • 3 comments

On iPhone X, the notification view should be displayed a bit lower, otherwise it can't by fully seen. Is there anyone having the same issue, or am i missing something here ? There's no one report about this issue, which seems strange to me.

namanhams avatar Feb 01 '18 04:02 namanhams

@namanhams thanks for reporting this. What installation method do you use? I just checked out library, for me X looks OK: simulator screen shot - iphone x - 2018-02-01 at 16 29 29

peterprokop avatar Feb 01 '18 16:02 peterprokop

@peterprokop : sorry for my late reply. I missed the notification email. So i used the branch 'Swift-3.0'. This is from Pod : pod 'SwiftOverlays', :git => 'https://github.com/peterprokop/SwiftOverlays.git', :branch => 'swift-3.0'

The function that i use is showAnnoyingNotificationOnTopOfStatusBar

I checked the source code (both branches), i couldn't find you use "safeAreaInsets" or "topLayoutGuide" anywhere, so wonder how you handle the top area in iPhone X.

namanhams avatar Feb 26 '18 04:02 namanhams

@peterprokop : does you view extend under the status bar ?

namanhams avatar Feb 26 '18 04:02 namanhams