ios - why isn't this button Constraints Design working? -


please novice ios developer. working application. created ios screen not suite design level, need configure again. here, iam attaching screenshots well. please find these screen , guide me p.s. using stack view screen creation of application

here using 1 vertical stackview , 4 horizontal stack view

enter image description here

enter image description here

enter image description here

enter image description here

this code helpful:

extension uibutton {     func roundcorners(_ corners:uirectcorner, radius: cgfloat) {         let path = uibezierpath(roundedrect: self.bounds, byroundingcorners: corners, cornerradii: cgsize(width: radius, height: radius))         let mask = cashapelayer()         mask.path = path.cgpath         self.layer.mask = mask     } }  //call extension this:  btn.roundcorners([.topleft, .bottomright], radius: 20.0) 

Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -