Questions tagged [safearealayoutguide]

The safeAreaLayoutGuide is a property from UIView class (Apple iOS) representing the portion of the view that is unobscured by bars and other content.

Apple documentation for safeAreaLayoutGuide.

240 questions
0
votes
1 answer

Update custom navigationBar trasparent Image autolayout Iphone X?

Tell me how to do it custom navigation bar trasparent Iphone X?Here is the picture that I want. Here is my code that I did. But when I fix the picture of the changes does not happen. The transparent navigationBar and status bar become ordinary.All…
0
votes
0 answers

iOS Safe Area margin not extending to bottom of navigation bar

Edit - This was marked as duplicate. While the solution was the same in the answer I got linked to, the symptom I was looking to fix was not, and I did not find it mentioned after hours of research. I can't for the life of me get this stupid iphone…
Jake T.
  • 4,308
  • 2
  • 20
  • 48
0
votes
3 answers

safeAreaLayoutGuide to my inputAccesoryView

So with the new iPhone X, some things in my app are in the wrong position. In the bottom of my app, i have an accesoryView, which is basically an UIView with a textfield and other elements. I saw something about safeAreaLayoutGuide in the new iPhone…
Edwjonn
  • 171
  • 2
  • 15
0
votes
1 answer

Using safe area layout in nib files but leave deployment target as iOS 8

I've recently submitted my app to the app store after enabling Safe Area layout guide in anticipation of the iPhone X. My app currently supports iOS 8 - so when I enabled the safe area layout guide on my nib file, i changed the 'build for' flag on…
0
votes
1 answer

contentInsetAdjustmentBehavior seems not act right for child UIControllerView 's UIScrollview

i use WMPageController as my one of viewcontroller, as we know , on iphoneX, scrollview will by default has a safeArea which constrain your content view in center ,that is top with 44 status height and 44 normal navibar height and to the bottom with…
SevenJustin
  • 61
  • 11
0
votes
1 answer

How to integrate safeAreaInsets to current constraints extension

I created extension for the view's constraints. You can find the code in the below but after new release iPhone X we need to use safeAreaInsets but i don't know how implement that property. I'll be so glad if you could help me out. Thanks …
Esat kemal Ekren
  • 516
  • 2
  • 8
  • 28
-1
votes
1 answer

Zero safe area in landscape mode in Xcode?

I have a simple UIViewController and just try to add a subview which fullfills all available safe area. The result with xib, storyboard and sometimes programmatically is the same - Xcode ignores safe area in landscape mode: The result I expect is…
Gargo
  • 1,135
  • 1
  • 10
  • 21
-1
votes
1 answer

How to set Safe Area Layout for new IPhone Devices in swift

I have created a simple view.Xib file, if internet connection interrupts or disconnects for any reason my view will be displayed at the bottom. For this I have set programmatically NSLayoutConstraint. If I use SafeAreaLayout it gives spaces at the…
-1
votes
1 answer

How to lead with safe area in Objective-C project?

Sorry if this question already exists, but i don't know how exactly to ask. I have a project in Objective-C, in appDelegate there's a view controller being instantiate on window root, but when I run in new iphones i have the following problem with…
-1
votes
1 answer

Clickable buttons outside safe area

Is is possible to have buttons clickable outside safe area (btw how is it called? nonsafe area?)? I have buttons like in screenshot and highlight area where my app doesn't recognize touch (it's screenshot from simulator iPhone XR, there is notch but…
Libor Zapletal
  • 13,752
  • 20
  • 95
  • 182
-1
votes
1 answer

swift 4: Setting button's constrains to safe area while inside a view

I have a return button that is inside a view on the top left corner, and that view is anchored to the top of the safe area. What I'm trying to set is the button's top and leading constraint to the top and the leading of the safe area, but since the…
-1
votes
1 answer

AVKit.AVPlayerViewController - controls not visible with iOS11 and upwards

I have a videoPlayer with controls. These are not visible with iOS11 + no problem up to iOS10 This is a demo with the iPhone8 simulator iPhone 8 Demo This is a demo with the iPhoneX simulator. The controls aren't showing at the bottom of the…
sandra oo
  • 91
  • 1
  • 14
-1
votes
2 answers

Issue with UI while updating storyBoard from Xcode8 to Xcode9

I am trying to run my project on iphoneX. I have already updated my safe area layout guide but still, I am getting black bars on top and bottom. I tried all the possible ways which I know. I have also tried copy and paste my view controller to new…
Pulkit
  • 606
  • 1
  • 9
  • 19
-2
votes
1 answer

Do you have to respect safeareainsets on iOS apps?

Curious if safeareainsets have to be used or if they are just a guideline. Our team had noticed that apps with lower bars (tab bar for example) will always respect this area, but list type apps (Apple's own contacts app) extends below the swipe up…
Rob Bonner
  • 9,276
  • 8
  • 35
  • 55
-2
votes
1 answer

Why does the safe area not cover the width of the screen on iPad Pro 12.9"

For some reason, on 12.9" but not the other sizes, the safe area does not extend to the width of the screen. Why is that? And if I want something to extend to the full width of the screen, what is the best way to do that? I've tried constraining…
Sean Zlatnik
  • 187
  • 2
  • 12
1 2 3
15
16