views:

293

answers:

1

Hello all .

I am developing an iPhone application in which I have a page in which I am using scrollview mkmapview and webview all at once in the control of a segmented control.

I am doing it confortablly .

My question is that I want to show border or frame outside this frames.

How can I do so ?

A: 

Here How you can do ::

self.posterView.layer.borderColor = [[UIColor whiteColor] CGColor];
self.posterView.layer.borderWidth = 2.0;

one thing do not forget to include <QuartzCore/Quartcore.h> and include the framework as well

enjoy

hib