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

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

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