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 -

Process 'command 'F:\android-sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 1 -