ios - Draw border "within" UIViewController -


i need draw visible border goes around edge of screen within view controller. tried setting view's borderwidth , bordercolor, nothing appeared on screen. how accomplish this?

i tried following code , worked.

self.view.layer.bordercolor = uicolor.orangecolor().cgcolor self.view.layer.borderwidth = 3 

viewcontroller


Comments

Popular posts from this blog

apache - setting document root in antoher partition on ubuntu -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -

r - Quantstrat logical error while running applySignals - missing value where TRUE/FALSE needed -