I want to make Custom UIview which have rounded cornes.
Is this possible? I have no idea how to do this.
Any suggestions from experts will be welcome.
I want to make Custom UIview which have rounded cornes.
Is this possible? I have no idea how to do this.
Any suggestions from experts will be welcome.
First add QuartzCore Framework to your project.
Then import it into your class where you want to set your view corner radius,
Now make an IBOutlet in .h file to UIView (Assuming added by you in your XIB)
In your .m file,set sorner radius to your view
Hope it helps...
Import the QuartzCore Framework
then do this
Dont forget masks to bound = yes. Hope this helps. Happy Coding
For this you need to import Quartz famework..You can also set Bordercolor,shadow color,corner width,etc to that view
And try this code.
Add This Framwork
This code might helpful for you.