Why UIView appears different location when load it in navigation bar? The 2019 Stack Overflow Developer Survey Results Are IniPhone Navigation Bar Title text colorProgrammatically get height of navigation barUIView within a UIView not showing upStatus bar and navigation bar appear over my view's bounds in iOS 7Add a UIView above all, even the navigation barSet UIImageView (inside a View) just below translucent UINavigationBarChanging navigation bar color in SwiftHow to hide a navigation bar from first ViewController in Swift?Multi-Colored back button in UINavigationBarCustom NavigationBar shows different location when loading on some devices

Does a dangling wire really electrocute me if I'm standing in water?

What is the accessibility of a package's `Private` context variables?

How to notate time signature switching consistently every measure

Am I thawing this London Broil safely?

How come people say “Would of”?

When should I buy a clipper card after flying to OAK?

Time travel alters history but people keep saying nothing's changed

Deal with toxic manager when you can't quit

How to type this arrow in math mode?

Which Sci-Fi work first showed weapon of galactic-scale mass destruction?

Why do UK politicians seemingly ignore opinion polls on Brexit?

How to answer pointed "are you quitting" questioning when I don't want them to suspect

Output the Arecibo Message

Geography at the pixel level

How to deal with fear of taking dependencies

Did Section 31 appear in Star Trek: The Next Generation?

Resizing object distorts it (Illustrator CC 2018)

Why can Shazam fly?

What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?

Is a "Democratic" Oligarchy-Style System Possible?

Why hard-Brexiteers don't insist on a hard border to prevent illegal immigration after Brexit?

Are there any other methods to apply to solving simultaneous equations?

Can one be advised by a professor who is very far away?

If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?



Why UIView appears different location when load it in navigation bar?



The 2019 Stack Overflow Developer Survey Results Are IniPhone Navigation Bar Title text colorProgrammatically get height of navigation barUIView within a UIView not showing upStatus bar and navigation bar appear over my view's bounds in iOS 7Add a UIView above all, even the navigation barSet UIImageView (inside a View) just below translucent UINavigationBarChanging navigation bar color in SwiftHow to hide a navigation bar from first ViewController in Swift?Multi-Colored back button in UINavigationBarCustom NavigationBar shows different location when loading on some devices



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















Below type of UIView, I am showing in UINavigationBar.
When I run this on iPhone 5c, when loading view with my NavigationBar then the location of UIView is different and after finished loading it shows actual location.



When I run this on other iPhones it works fine.



I want to know why the NavigationBar appears on different location when loading on only iPhone 5c.





Below is my tried code.



 if colour == "red" 
colorView.backgroundColor = Common.redColor
else
colorView.backgroundColor = Common.greenColor

subtitleLabel.text = NSLocalizedString("Profile", comment: "")
navigationController?.navigationBar.barTintColor = Common.backgroundColor
navigationController?.navigationBar.isTranslucent = false
navigationController?.navigationBar.isHidden = false
self.automaticallyAdjustsScrollViewInsets = false
navigationItem.leftBarButtonItems = [backButton, UIBarButtonItem(customView: navigationBarView)]









share|improve this question
























  • based on your question your device UI updation is delay

    – Anbu.Karthik
    Mar 22 at 3:51











  • What I have to do for this?

    – Vikas
    Mar 22 at 4:04











  • try with main thread

    – Anbu.Karthik
    Mar 22 at 4:06











  • same output with using main thread

    – Vikas
    Mar 22 at 4:15











  • Is OS version of iPhone 5C and other iPhones are same?

    – shuvo
    Mar 22 at 5:32

















0















Below type of UIView, I am showing in UINavigationBar.
When I run this on iPhone 5c, when loading view with my NavigationBar then the location of UIView is different and after finished loading it shows actual location.



When I run this on other iPhones it works fine.



I want to know why the NavigationBar appears on different location when loading on only iPhone 5c.





Below is my tried code.



 if colour == "red" 
colorView.backgroundColor = Common.redColor
else
colorView.backgroundColor = Common.greenColor

subtitleLabel.text = NSLocalizedString("Profile", comment: "")
navigationController?.navigationBar.barTintColor = Common.backgroundColor
navigationController?.navigationBar.isTranslucent = false
navigationController?.navigationBar.isHidden = false
self.automaticallyAdjustsScrollViewInsets = false
navigationItem.leftBarButtonItems = [backButton, UIBarButtonItem(customView: navigationBarView)]









share|improve this question
























  • based on your question your device UI updation is delay

    – Anbu.Karthik
    Mar 22 at 3:51











  • What I have to do for this?

    – Vikas
    Mar 22 at 4:04











  • try with main thread

    – Anbu.Karthik
    Mar 22 at 4:06











  • same output with using main thread

    – Vikas
    Mar 22 at 4:15











  • Is OS version of iPhone 5C and other iPhones are same?

    – shuvo
    Mar 22 at 5:32













0












0








0








Below type of UIView, I am showing in UINavigationBar.
When I run this on iPhone 5c, when loading view with my NavigationBar then the location of UIView is different and after finished loading it shows actual location.



When I run this on other iPhones it works fine.



I want to know why the NavigationBar appears on different location when loading on only iPhone 5c.





Below is my tried code.



 if colour == "red" 
colorView.backgroundColor = Common.redColor
else
colorView.backgroundColor = Common.greenColor

subtitleLabel.text = NSLocalizedString("Profile", comment: "")
navigationController?.navigationBar.barTintColor = Common.backgroundColor
navigationController?.navigationBar.isTranslucent = false
navigationController?.navigationBar.isHidden = false
self.automaticallyAdjustsScrollViewInsets = false
navigationItem.leftBarButtonItems = [backButton, UIBarButtonItem(customView: navigationBarView)]









share|improve this question
















Below type of UIView, I am showing in UINavigationBar.
When I run this on iPhone 5c, when loading view with my NavigationBar then the location of UIView is different and after finished loading it shows actual location.



When I run this on other iPhones it works fine.



I want to know why the NavigationBar appears on different location when loading on only iPhone 5c.





Below is my tried code.



 if colour == "red" 
colorView.backgroundColor = Common.redColor
else
colorView.backgroundColor = Common.greenColor

subtitleLabel.text = NSLocalizedString("Profile", comment: "")
navigationController?.navigationBar.barTintColor = Common.backgroundColor
navigationController?.navigationBar.isTranslucent = false
navigationController?.navigationBar.isHidden = false
self.automaticallyAdjustsScrollViewInsets = false
navigationItem.leftBarButtonItems = [backButton, UIBarButtonItem(customView: navigationBarView)]






ios swift uiview uinavigationbar custom-view






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 5 at 8:57







Vikas

















asked Mar 22 at 3:46









VikasVikas

1411211




1411211












  • based on your question your device UI updation is delay

    – Anbu.Karthik
    Mar 22 at 3:51











  • What I have to do for this?

    – Vikas
    Mar 22 at 4:04











  • try with main thread

    – Anbu.Karthik
    Mar 22 at 4:06











  • same output with using main thread

    – Vikas
    Mar 22 at 4:15











  • Is OS version of iPhone 5C and other iPhones are same?

    – shuvo
    Mar 22 at 5:32

















  • based on your question your device UI updation is delay

    – Anbu.Karthik
    Mar 22 at 3:51











  • What I have to do for this?

    – Vikas
    Mar 22 at 4:04











  • try with main thread

    – Anbu.Karthik
    Mar 22 at 4:06











  • same output with using main thread

    – Vikas
    Mar 22 at 4:15











  • Is OS version of iPhone 5C and other iPhones are same?

    – shuvo
    Mar 22 at 5:32
















based on your question your device UI updation is delay

– Anbu.Karthik
Mar 22 at 3:51





based on your question your device UI updation is delay

– Anbu.Karthik
Mar 22 at 3:51













What I have to do for this?

– Vikas
Mar 22 at 4:04





What I have to do for this?

– Vikas
Mar 22 at 4:04













try with main thread

– Anbu.Karthik
Mar 22 at 4:06





try with main thread

– Anbu.Karthik
Mar 22 at 4:06













same output with using main thread

– Vikas
Mar 22 at 4:15





same output with using main thread

– Vikas
Mar 22 at 4:15













Is OS version of iPhone 5C and other iPhones are same?

– shuvo
Mar 22 at 5:32





Is OS version of iPhone 5C and other iPhones are same?

– shuvo
Mar 22 at 5:32












0






active

oldest

votes












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%2f55292602%2fwhy-uiview-appears-different-location-when-load-it-in-navigation-bar%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















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%2f55292602%2fwhy-uiview-appears-different-location-when-load-it-in-navigation-bar%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

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현