safearealayoutguide Questions

5

I'm trying to add a Navigation Bar in a xib, but the navigation bar does not fill to the top, it leaves space above it where the camera notch is. See the screenshot below: Here are my constraint...
Disperse asked 11/12, 2018 at 18:27

7

I'm implementing a <SafeAreaView> on my React Native app. Most of my screens are in a ScrollView. When I add the <SafeAreaView>, it obstructs the content. While I want this bottom area ...
Badlands asked 20/3, 2018 at 6:59

25

Solved

What would be the most proper way to get both top and bottom height for the unsafe areas?
Braiding asked 19/10, 2017 at 12:25

5

Solved

Creating some new view controllers with xcode 9 so now I have a few safe areas to deal with. I am currently trying to do something fullproof, meaning keeping the unsafe area as it is (since I alwa...
Inadvertency asked 3/10, 2017 at 10:8

7

Solved

I have a simple SwiftUI view that contains 3 text elements: struct ImageDescriptionView: View { var title: String? var imageDescription: String? var copyright: String? var body: some View { V...
Optimal asked 29/11, 2021 at 14:27

10

I don't know why the safe area covered my view on the iPhone X, simulator, but in xCode's view debug it seems ok. Is there any option to hide the safe area view or remove it? thanks in advance! Via...
Bushwhacker asked 14/3, 2018 at 13:12

12

Solved

Since I don't use storyboards to create my views, I was wondering if there's the "Use Safe Area Guides" option programmatically or something like that. I've tried to anchor my views to view.saf...
Marocain asked 20/9, 2017 at 8:30

4

Solved

I need to calculate the distance between the bottom anchor of the safe area and the bottom of the screen. Is there a way to do that in code given a view?
Comyns asked 18/11, 2017 at 23:48

5

I'm trying to migrate a app to iOS 11 and for days I'm stuck with one ugly UI bug after the other. This time: MKMapView. I have a bunch of buttons which I pinned to the Safe Area Layout Guides and ...
Polinski asked 23/11, 2017 at 9:39

3

I'm developing image gallery like slider using UIPageViewController and I'm having troubles with UIPageViewController automatic insets in Scroll transition style mode. Here is my layout: UIViewC...

1

Solved

I am using the tab bar based app and on detail screen the tab bar is hidden. The issue is when the tab bar is hidden it will still occupy the white space that of tab bar and safeAreaLayoutInsets ar...
Hickok asked 28/2, 2020 at 5:49

3

Before you mark it as duplicate please note, that I did read this and this seems to not apply to UITabBar Both UIViewController and UITabBar are created programmatically. Constraints are set like:...
Jacquelinjacqueline asked 17/5, 2018 at 12:12

1

Solved

I implemented a custom navigation bar which is simply a view with a title text and an arrow to dismiss the view. I want only the background color of the nav bar to go beyond the top safe area whils...
Harebrained asked 2/5, 2021 at 3:4

5

I am developing Xamarin forms app and my app seems with safe area set in top. But need to ignore it. Current scenario: Excepted scenario: I have googled regarding this and got below link, tr...
Driftwood asked 15/3, 2018 at 6:51

5

Solved

Here's a collection view constrained to top, left, right, and bottom of the superview with safe area layout guide enabled: I want my collection view header to be shown under the status bar. I've...
Menes asked 22/2, 2018 at 19:56

3

Solved

In the same theme as this post: iOS 13 - UIPopoverPresentationController sourceview content visible in the arrow I have a UITableViewController instantiated from the Storyboard. I'm presenting it...
Eligibility asked 28/9, 2019 at 19:58

3

I am having difficulty with the Safe Area when sliding a child ViewController around on an iPhone X in landscape. I have a root ViewController, and one of its views is moveable and contains an em...
Word asked 23/11, 2017 at 21:14

16

Is enabling Safe Area Layout Guides compatible to iOS below 11?
Plataea asked 12/9, 2017 at 19:42

1

Solved

TL;DR: I can't draw an image exactly onto the full screen on wide-aspect (13:6) phones. If I observe the safe area, the error is (predictably) underscan. Using .edgesIgnoringSafeArea() goes (unexpe...
Estis asked 3/6, 2020 at 3:50

2

I am trying to compile an application with a Deployment Target iOS 8.0 on Xcode 10 using an iOS 8.3 simulator. I have already disabled Safe Area Layout Guide from the Storyboard, but the issue sti...
Feinleib asked 25/10, 2018 at 10:38

5

Solved

The new Safe Area layout guide introduced in iOS 11 works great to prevent content from displaying below bars, but it excludes the keyboard. That means that when a keyboard is displayed, content is...
Agc asked 30/7, 2017 at 11:9

4

Solved

I want to use Apples visual format language to constrain a view to the new Safe Area Layout Guide in iOS 11. However, I get an exception: -[NSLayoutYAxisAnchor nsli_superitem]: unrecognized sele...
Anglocatholic asked 28/9, 2017 at 22:41

2

I use XIB in most of my apps instead of Storyboards. As you can see from the picture, I have Safe Area Layout Guide enabled as well as Auto Layout, but for some reason, my XIB still shows top and b...
Reggiereggis asked 4/11, 2017 at 17:3

4

Solved

Warning: leading or trailing horizontal alignment before iOS 11 I am getting above warning during compilation on Xcode 9.1 on one of the scenes in a storyboard file. There are other storyboards (w...
Blanks asked 23/11, 2017 at 12:57

2

Solved

I calculate itemSize dependent on safe area for UICollectionView with horizontal scroll and custom layout. But for iPhone X safe area has different size for different orientation. My question is...
Titos asked 19/9, 2017 at 11:42

© 2022 - 2025 — McMap. All rights reserved.