Status Bar clock has been truncated on iPhoneX












1















After adding a gradient layer to the statusbar and make it light or dark for different view controllers, at some random point in navigation, my clock in the status bar of notch iPhones has become truncated. like 1... or ...



I have tried these two solutions for make statusbar content white; But this has no effect on this random clock behaviour.



this:



override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.navigationController?.navigationBar.barStyle = .blackOpaque
self.setNeedsStatusBarAppearanceUpdate()
}


or this:



override var preferredStatusBarStyle: UIStatusBarStyle {
return .lightContent
}


Both of them changes my status bar color of content. Any idea about what is cause of this behavior???



clock problem



and this is how I make the status bar gradient:



extension UIViewController {
func makeStatusBarGradient(){
let statusBarView = UIView(frame: UIApplication.shared.statusBarFrame)
let gradientLayer1 = CAGradientLayer()
gradientLayer1.frame = statusBarView.frame
gradientLayer1.colors = [UIColor.APColors.redGradient.cgColor, UIColor.APColors.orangeGradient.cgColor]
gradientLayer1.startPoint = CGPoint(x: 0.0, y: 0.5)
gradientLayer1.endPoint = CGPoint(x: 1.0, y: 0.5)
gradientLayer1.cornerRadius = 0
gradientLayer1.zPosition = -10
gradientLayer1.name = "gradient"
//Change status bar color
if let statusBar = UIApplication.shared.value(forKey: "statusBar") as? UIView{
statusBar.layer.addSublayer(gradientLayer1)
}
setNeedsStatusBarAppearanceUpdate()
}
func clearStatusBarGradient(){
if let statusBar = UIApplication.shared.value(forKey: "statusBar") as? UIView{
if let layers = statusBar.layer.sublayers?.filter({$0.name == "gradient"}){
if (layers.count > 0){
layers.first?.removeFromSuperlayer()
}
}
}
setNeedsStatusBarAppearanceUpdate()
}
}


and, the APColors are:



extension UIColor {
struct APColors {
static var redGradient : UIColor { return UIColor(red: 1.00, green: 0.42, blue: 0.24, alpha: 1) }
static var orangeGradient : UIColor { return UIColor(red: 0.95, green: 0.19, blue: 0.42, alpha: 1)}

}
}









share|improve this question

























  • Can you please share how do u apply gradient color to status vbar?

    – Emre Önder
    Jan 2 at 8:33











  • @EmreÖnder Updated.

    – Abbas Sabeti
    Jan 2 at 9:34
















1















After adding a gradient layer to the statusbar and make it light or dark for different view controllers, at some random point in navigation, my clock in the status bar of notch iPhones has become truncated. like 1... or ...



I have tried these two solutions for make statusbar content white; But this has no effect on this random clock behaviour.



this:



override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.navigationController?.navigationBar.barStyle = .blackOpaque
self.setNeedsStatusBarAppearanceUpdate()
}


or this:



override var preferredStatusBarStyle: UIStatusBarStyle {
return .lightContent
}


Both of them changes my status bar color of content. Any idea about what is cause of this behavior???



clock problem



and this is how I make the status bar gradient:



extension UIViewController {
func makeStatusBarGradient(){
let statusBarView = UIView(frame: UIApplication.shared.statusBarFrame)
let gradientLayer1 = CAGradientLayer()
gradientLayer1.frame = statusBarView.frame
gradientLayer1.colors = [UIColor.APColors.redGradient.cgColor, UIColor.APColors.orangeGradient.cgColor]
gradientLayer1.startPoint = CGPoint(x: 0.0, y: 0.5)
gradientLayer1.endPoint = CGPoint(x: 1.0, y: 0.5)
gradientLayer1.cornerRadius = 0
gradientLayer1.zPosition = -10
gradientLayer1.name = "gradient"
//Change status bar color
if let statusBar = UIApplication.shared.value(forKey: "statusBar") as? UIView{
statusBar.layer.addSublayer(gradientLayer1)
}
setNeedsStatusBarAppearanceUpdate()
}
func clearStatusBarGradient(){
if let statusBar = UIApplication.shared.value(forKey: "statusBar") as? UIView{
if let layers = statusBar.layer.sublayers?.filter({$0.name == "gradient"}){
if (layers.count > 0){
layers.first?.removeFromSuperlayer()
}
}
}
setNeedsStatusBarAppearanceUpdate()
}
}


and, the APColors are:



extension UIColor {
struct APColors {
static var redGradient : UIColor { return UIColor(red: 1.00, green: 0.42, blue: 0.24, alpha: 1) }
static var orangeGradient : UIColor { return UIColor(red: 0.95, green: 0.19, blue: 0.42, alpha: 1)}

}
}









share|improve this question

























  • Can you please share how do u apply gradient color to status vbar?

    – Emre Önder
    Jan 2 at 8:33











  • @EmreÖnder Updated.

    – Abbas Sabeti
    Jan 2 at 9:34














1












1








1








After adding a gradient layer to the statusbar and make it light or dark for different view controllers, at some random point in navigation, my clock in the status bar of notch iPhones has become truncated. like 1... or ...



I have tried these two solutions for make statusbar content white; But this has no effect on this random clock behaviour.



this:



override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.navigationController?.navigationBar.barStyle = .blackOpaque
self.setNeedsStatusBarAppearanceUpdate()
}


or this:



override var preferredStatusBarStyle: UIStatusBarStyle {
return .lightContent
}


Both of them changes my status bar color of content. Any idea about what is cause of this behavior???



clock problem



and this is how I make the status bar gradient:



extension UIViewController {
func makeStatusBarGradient(){
let statusBarView = UIView(frame: UIApplication.shared.statusBarFrame)
let gradientLayer1 = CAGradientLayer()
gradientLayer1.frame = statusBarView.frame
gradientLayer1.colors = [UIColor.APColors.redGradient.cgColor, UIColor.APColors.orangeGradient.cgColor]
gradientLayer1.startPoint = CGPoint(x: 0.0, y: 0.5)
gradientLayer1.endPoint = CGPoint(x: 1.0, y: 0.5)
gradientLayer1.cornerRadius = 0
gradientLayer1.zPosition = -10
gradientLayer1.name = "gradient"
//Change status bar color
if let statusBar = UIApplication.shared.value(forKey: "statusBar") as? UIView{
statusBar.layer.addSublayer(gradientLayer1)
}
setNeedsStatusBarAppearanceUpdate()
}
func clearStatusBarGradient(){
if let statusBar = UIApplication.shared.value(forKey: "statusBar") as? UIView{
if let layers = statusBar.layer.sublayers?.filter({$0.name == "gradient"}){
if (layers.count > 0){
layers.first?.removeFromSuperlayer()
}
}
}
setNeedsStatusBarAppearanceUpdate()
}
}


and, the APColors are:



extension UIColor {
struct APColors {
static var redGradient : UIColor { return UIColor(red: 1.00, green: 0.42, blue: 0.24, alpha: 1) }
static var orangeGradient : UIColor { return UIColor(red: 0.95, green: 0.19, blue: 0.42, alpha: 1)}

}
}









share|improve this question
















After adding a gradient layer to the statusbar and make it light or dark for different view controllers, at some random point in navigation, my clock in the status bar of notch iPhones has become truncated. like 1... or ...



I have tried these two solutions for make statusbar content white; But this has no effect on this random clock behaviour.



this:



override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.navigationController?.navigationBar.barStyle = .blackOpaque
self.setNeedsStatusBarAppearanceUpdate()
}


or this:



override var preferredStatusBarStyle: UIStatusBarStyle {
return .lightContent
}


Both of them changes my status bar color of content. Any idea about what is cause of this behavior???



clock problem



and this is how I make the status bar gradient:



extension UIViewController {
func makeStatusBarGradient(){
let statusBarView = UIView(frame: UIApplication.shared.statusBarFrame)
let gradientLayer1 = CAGradientLayer()
gradientLayer1.frame = statusBarView.frame
gradientLayer1.colors = [UIColor.APColors.redGradient.cgColor, UIColor.APColors.orangeGradient.cgColor]
gradientLayer1.startPoint = CGPoint(x: 0.0, y: 0.5)
gradientLayer1.endPoint = CGPoint(x: 1.0, y: 0.5)
gradientLayer1.cornerRadius = 0
gradientLayer1.zPosition = -10
gradientLayer1.name = "gradient"
//Change status bar color
if let statusBar = UIApplication.shared.value(forKey: "statusBar") as? UIView{
statusBar.layer.addSublayer(gradientLayer1)
}
setNeedsStatusBarAppearanceUpdate()
}
func clearStatusBarGradient(){
if let statusBar = UIApplication.shared.value(forKey: "statusBar") as? UIView{
if let layers = statusBar.layer.sublayers?.filter({$0.name == "gradient"}){
if (layers.count > 0){
layers.first?.removeFromSuperlayer()
}
}
}
setNeedsStatusBarAppearanceUpdate()
}
}


and, the APColors are:



extension UIColor {
struct APColors {
static var redGradient : UIColor { return UIColor(red: 1.00, green: 0.42, blue: 0.24, alpha: 1) }
static var orangeGradient : UIColor { return UIColor(red: 0.95, green: 0.19, blue: 0.42, alpha: 1)}

}
}






ios swift statusbar clock iphone-x






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 2 at 9:56







Abbas Sabeti

















asked Jan 2 at 8:13









Abbas SabetiAbbas Sabeti

2018




2018













  • Can you please share how do u apply gradient color to status vbar?

    – Emre Önder
    Jan 2 at 8:33











  • @EmreÖnder Updated.

    – Abbas Sabeti
    Jan 2 at 9:34



















  • Can you please share how do u apply gradient color to status vbar?

    – Emre Önder
    Jan 2 at 8:33











  • @EmreÖnder Updated.

    – Abbas Sabeti
    Jan 2 at 9:34

















Can you please share how do u apply gradient color to status vbar?

– Emre Önder
Jan 2 at 8:33





Can you please share how do u apply gradient color to status vbar?

– Emre Önder
Jan 2 at 8:33













@EmreÖnder Updated.

– Abbas Sabeti
Jan 2 at 9:34





@EmreÖnder Updated.

– Abbas Sabeti
Jan 2 at 9:34












2 Answers
2






active

oldest

votes


















1














You are using extension on UILabel, which override it's intrinsicContentSize. (or maybe you swizzling this method) So status bar clock label trigger it and got wrong intrinsicContentSize. Try to fix textSize calculation in this overrided method, or avoid overriding it if possible.



I can guess you're using UILabel+Padding from popular SO answer, so check if you've got this:



if let insets = padding {
insetsWidth += insets.left + insets.right
insetsHeight += insets.top + insets.bottom
textWidth -= insetsWidth
}


if you do, then simply change it:



if let insets = padding {
insetsWidth += insets.left + insets.right
insetsHeight += insets.top + insets.bottom
textWidth -= insetsWidth
} else {
return contentSize
}





share|improve this answer
























  • I'm impressed of how you guessed my code. Excellent Answer. Thanks. @Unreal Developer

    – Abbas Sabeti
    Jan 13 at 12:49





















0














As i do not know what's the APColor, so I changed the line with below & everything is working fine.



gradientLayer1.colors = [UIColor.red.cgColor, UIColor.orange.cgColor]



  1. Try to change the same line and check your issue is solved or not. Most probably, APColor does not caused the issue.


  2. Check is their any multiple stuffs is in you statusbar is available or not. e.g. indicator etc.


  3. If you added anything else in your status bar then let me know.



Output



enter image description here






share|improve this answer
























  • Actually it's also ok for me most of the time. But after a bit navigation in different pages, or make app minimized and restore again, or even make the phone locked and unlocked again, the problem appears suddenly. I couldn't find any pattern or sequence of navigation which causes this problem.

    – Abbas Sabeti
    Jan 2 at 9:51













  • @AbbasSabeti Do you face the same issue by doing all things that mentioned above if you dont add the gradient?

    – dahiya_boy
    Jan 2 at 9:54











  • The problem is not gradient. The same result has been achieved with statusbar background color.

    – Abbas Sabeti
    Jan 2 at 10:03











  • @AbbasSabeti Then probably its device issue. Check same in other device if possible.

    – dahiya_boy
    Jan 2 at 10:04











  • Exact same problem on iPhone XS Max, iPhone X, and every notched iOS Simulator.

    – Abbas Sabeti
    Jan 2 at 10:13











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54003135%2fstatus-bar-clock-has-been-truncated-on-iphonex%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














You are using extension on UILabel, which override it's intrinsicContentSize. (or maybe you swizzling this method) So status bar clock label trigger it and got wrong intrinsicContentSize. Try to fix textSize calculation in this overrided method, or avoid overriding it if possible.



I can guess you're using UILabel+Padding from popular SO answer, so check if you've got this:



if let insets = padding {
insetsWidth += insets.left + insets.right
insetsHeight += insets.top + insets.bottom
textWidth -= insetsWidth
}


if you do, then simply change it:



if let insets = padding {
insetsWidth += insets.left + insets.right
insetsHeight += insets.top + insets.bottom
textWidth -= insetsWidth
} else {
return contentSize
}





share|improve this answer
























  • I'm impressed of how you guessed my code. Excellent Answer. Thanks. @Unreal Developer

    – Abbas Sabeti
    Jan 13 at 12:49


















1














You are using extension on UILabel, which override it's intrinsicContentSize. (or maybe you swizzling this method) So status bar clock label trigger it and got wrong intrinsicContentSize. Try to fix textSize calculation in this overrided method, or avoid overriding it if possible.



I can guess you're using UILabel+Padding from popular SO answer, so check if you've got this:



if let insets = padding {
insetsWidth += insets.left + insets.right
insetsHeight += insets.top + insets.bottom
textWidth -= insetsWidth
}


if you do, then simply change it:



if let insets = padding {
insetsWidth += insets.left + insets.right
insetsHeight += insets.top + insets.bottom
textWidth -= insetsWidth
} else {
return contentSize
}





share|improve this answer
























  • I'm impressed of how you guessed my code. Excellent Answer. Thanks. @Unreal Developer

    – Abbas Sabeti
    Jan 13 at 12:49
















1












1








1







You are using extension on UILabel, which override it's intrinsicContentSize. (or maybe you swizzling this method) So status bar clock label trigger it and got wrong intrinsicContentSize. Try to fix textSize calculation in this overrided method, or avoid overriding it if possible.



I can guess you're using UILabel+Padding from popular SO answer, so check if you've got this:



if let insets = padding {
insetsWidth += insets.left + insets.right
insetsHeight += insets.top + insets.bottom
textWidth -= insetsWidth
}


if you do, then simply change it:



if let insets = padding {
insetsWidth += insets.left + insets.right
insetsHeight += insets.top + insets.bottom
textWidth -= insetsWidth
} else {
return contentSize
}





share|improve this answer













You are using extension on UILabel, which override it's intrinsicContentSize. (or maybe you swizzling this method) So status bar clock label trigger it and got wrong intrinsicContentSize. Try to fix textSize calculation in this overrided method, or avoid overriding it if possible.



I can guess you're using UILabel+Padding from popular SO answer, so check if you've got this:



if let insets = padding {
insetsWidth += insets.left + insets.right
insetsHeight += insets.top + insets.bottom
textWidth -= insetsWidth
}


if you do, then simply change it:



if let insets = padding {
insetsWidth += insets.left + insets.right
insetsHeight += insets.top + insets.bottom
textWidth -= insetsWidth
} else {
return contentSize
}






share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 12 at 20:51









Unreal DeveloperUnreal Developer

13818




13818













  • I'm impressed of how you guessed my code. Excellent Answer. Thanks. @Unreal Developer

    – Abbas Sabeti
    Jan 13 at 12:49





















  • I'm impressed of how you guessed my code. Excellent Answer. Thanks. @Unreal Developer

    – Abbas Sabeti
    Jan 13 at 12:49



















I'm impressed of how you guessed my code. Excellent Answer. Thanks. @Unreal Developer

– Abbas Sabeti
Jan 13 at 12:49







I'm impressed of how you guessed my code. Excellent Answer. Thanks. @Unreal Developer

– Abbas Sabeti
Jan 13 at 12:49















0














As i do not know what's the APColor, so I changed the line with below & everything is working fine.



gradientLayer1.colors = [UIColor.red.cgColor, UIColor.orange.cgColor]



  1. Try to change the same line and check your issue is solved or not. Most probably, APColor does not caused the issue.


  2. Check is their any multiple stuffs is in you statusbar is available or not. e.g. indicator etc.


  3. If you added anything else in your status bar then let me know.



Output



enter image description here






share|improve this answer
























  • Actually it's also ok for me most of the time. But after a bit navigation in different pages, or make app minimized and restore again, or even make the phone locked and unlocked again, the problem appears suddenly. I couldn't find any pattern or sequence of navigation which causes this problem.

    – Abbas Sabeti
    Jan 2 at 9:51













  • @AbbasSabeti Do you face the same issue by doing all things that mentioned above if you dont add the gradient?

    – dahiya_boy
    Jan 2 at 9:54











  • The problem is not gradient. The same result has been achieved with statusbar background color.

    – Abbas Sabeti
    Jan 2 at 10:03











  • @AbbasSabeti Then probably its device issue. Check same in other device if possible.

    – dahiya_boy
    Jan 2 at 10:04











  • Exact same problem on iPhone XS Max, iPhone X, and every notched iOS Simulator.

    – Abbas Sabeti
    Jan 2 at 10:13
















0














As i do not know what's the APColor, so I changed the line with below & everything is working fine.



gradientLayer1.colors = [UIColor.red.cgColor, UIColor.orange.cgColor]



  1. Try to change the same line and check your issue is solved or not. Most probably, APColor does not caused the issue.


  2. Check is their any multiple stuffs is in you statusbar is available or not. e.g. indicator etc.


  3. If you added anything else in your status bar then let me know.



Output



enter image description here






share|improve this answer
























  • Actually it's also ok for me most of the time. But after a bit navigation in different pages, or make app minimized and restore again, or even make the phone locked and unlocked again, the problem appears suddenly. I couldn't find any pattern or sequence of navigation which causes this problem.

    – Abbas Sabeti
    Jan 2 at 9:51













  • @AbbasSabeti Do you face the same issue by doing all things that mentioned above if you dont add the gradient?

    – dahiya_boy
    Jan 2 at 9:54











  • The problem is not gradient. The same result has been achieved with statusbar background color.

    – Abbas Sabeti
    Jan 2 at 10:03











  • @AbbasSabeti Then probably its device issue. Check same in other device if possible.

    – dahiya_boy
    Jan 2 at 10:04











  • Exact same problem on iPhone XS Max, iPhone X, and every notched iOS Simulator.

    – Abbas Sabeti
    Jan 2 at 10:13














0












0








0







As i do not know what's the APColor, so I changed the line with below & everything is working fine.



gradientLayer1.colors = [UIColor.red.cgColor, UIColor.orange.cgColor]



  1. Try to change the same line and check your issue is solved or not. Most probably, APColor does not caused the issue.


  2. Check is their any multiple stuffs is in you statusbar is available or not. e.g. indicator etc.


  3. If you added anything else in your status bar then let me know.



Output



enter image description here






share|improve this answer













As i do not know what's the APColor, so I changed the line with below & everything is working fine.



gradientLayer1.colors = [UIColor.red.cgColor, UIColor.orange.cgColor]



  1. Try to change the same line and check your issue is solved or not. Most probably, APColor does not caused the issue.


  2. Check is their any multiple stuffs is in you statusbar is available or not. e.g. indicator etc.


  3. If you added anything else in your status bar then let me know.



Output



enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 2 at 9:42









dahiya_boydahiya_boy

5,40211031




5,40211031













  • Actually it's also ok for me most of the time. But after a bit navigation in different pages, or make app minimized and restore again, or even make the phone locked and unlocked again, the problem appears suddenly. I couldn't find any pattern or sequence of navigation which causes this problem.

    – Abbas Sabeti
    Jan 2 at 9:51













  • @AbbasSabeti Do you face the same issue by doing all things that mentioned above if you dont add the gradient?

    – dahiya_boy
    Jan 2 at 9:54











  • The problem is not gradient. The same result has been achieved with statusbar background color.

    – Abbas Sabeti
    Jan 2 at 10:03











  • @AbbasSabeti Then probably its device issue. Check same in other device if possible.

    – dahiya_boy
    Jan 2 at 10:04











  • Exact same problem on iPhone XS Max, iPhone X, and every notched iOS Simulator.

    – Abbas Sabeti
    Jan 2 at 10:13



















  • Actually it's also ok for me most of the time. But after a bit navigation in different pages, or make app minimized and restore again, or even make the phone locked and unlocked again, the problem appears suddenly. I couldn't find any pattern or sequence of navigation which causes this problem.

    – Abbas Sabeti
    Jan 2 at 9:51













  • @AbbasSabeti Do you face the same issue by doing all things that mentioned above if you dont add the gradient?

    – dahiya_boy
    Jan 2 at 9:54











  • The problem is not gradient. The same result has been achieved with statusbar background color.

    – Abbas Sabeti
    Jan 2 at 10:03











  • @AbbasSabeti Then probably its device issue. Check same in other device if possible.

    – dahiya_boy
    Jan 2 at 10:04











  • Exact same problem on iPhone XS Max, iPhone X, and every notched iOS Simulator.

    – Abbas Sabeti
    Jan 2 at 10:13

















Actually it's also ok for me most of the time. But after a bit navigation in different pages, or make app minimized and restore again, or even make the phone locked and unlocked again, the problem appears suddenly. I couldn't find any pattern or sequence of navigation which causes this problem.

– Abbas Sabeti
Jan 2 at 9:51







Actually it's also ok for me most of the time. But after a bit navigation in different pages, or make app minimized and restore again, or even make the phone locked and unlocked again, the problem appears suddenly. I couldn't find any pattern or sequence of navigation which causes this problem.

– Abbas Sabeti
Jan 2 at 9:51















@AbbasSabeti Do you face the same issue by doing all things that mentioned above if you dont add the gradient?

– dahiya_boy
Jan 2 at 9:54





@AbbasSabeti Do you face the same issue by doing all things that mentioned above if you dont add the gradient?

– dahiya_boy
Jan 2 at 9:54













The problem is not gradient. The same result has been achieved with statusbar background color.

– Abbas Sabeti
Jan 2 at 10:03





The problem is not gradient. The same result has been achieved with statusbar background color.

– Abbas Sabeti
Jan 2 at 10:03













@AbbasSabeti Then probably its device issue. Check same in other device if possible.

– dahiya_boy
Jan 2 at 10:04





@AbbasSabeti Then probably its device issue. Check same in other device if possible.

– dahiya_boy
Jan 2 at 10:04













Exact same problem on iPhone XS Max, iPhone X, and every notched iOS Simulator.

– Abbas Sabeti
Jan 2 at 10:13





Exact same problem on iPhone XS Max, iPhone X, and every notched iOS Simulator.

– Abbas Sabeti
Jan 2 at 10:13


















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54003135%2fstatus-bar-clock-has-been-truncated-on-iphonex%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

Npm cannot find a required file even through it is in the searched directory