ios - Navigationbar Translucent property -


firstviewcontroller navbar

getting spot in between

secondviewcontroller navbar translucent

i having requirement first view controller has

self.navigationcontroller.navigationbar.translucent = yes; 

and second view controller has

self.navigationcontroller.navigationbar.translucent = no; 

so while navigating first view controller second view controller can see white space on top... can me smooth navigation.

try insert following code viewdidload:

if( [self respondstoselector:@selector(edgesforextendedlayout)] ) { self.edgesforextendedlayout = uirectedgenone; } 

Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -