ios - Bottom line of navigation bar or Top line of toolbar? -


i want ask line

"bottom line of navigation bar" or "top line of toolbar" ?

enter image description here

i want remove line.....

but try lot of method , not working @ all

i use lib show view

https://github.com/iltercengiz/icviewpager

(bty, removed code of lib drawing top line)

// draw top line bezierpath = [uibezierpath bezierpath]; [bezierpath movetopoint:cgpointmake(0.0, 0.0)]; [bezierpath addlinetopoint:cgpointmake(cgrectgetwidth(rect), 0.0)]; [[uicolor colorwithwhite:197.0/255.0 alpha:0.75] setstroke]; [bezierpath setlinewidth:1.0]; [bezierpath stroke]; 

thanks !!

-

[add]

i change position of toolbar lib

if add 0.5 -> gray line

if add 1 -> white blank

cgrect frame = self.tabsview.frame; frame.origin.x = 0.0; frame.origin.y = [self.tablocation boolvalue] ? toplayoutguide+0.5 : cgrectgetheight(self.view.frame) - [self.tabheight floatvalue]; frame.size.width = cgrectgetwidth(self.view.frame); frame.size.height = [self.tabheight floatvalue]; self.tabsview.frame = frame; 

enter image description here

enter image description here

excuse me in advance use swift language. being said, let's done business!

to remove bottom line of navigationbar, must remove shadowimage , backgroundimage

just , you'll rid of annoying line

    self.navigationcontroller?.navigationbar.shadowimage = uiimage()     self.navigationcontroller?.navigationbar.setbackgroundimage(uiimage(), forbarposition: .any, barmetrics: .default) 

i don't know if there top line atop of toolbars, let me know ;)

hope this'll help!


Comments