iOS transforming a view into cylindrical shape

0 votes

With Quartz 2D we can transform our views on the x, yand z axis.

In some cases we could even make them look 3D by changing the values of the matrixes.

I was wondering if it could be possible to transform a view into a cylinder shape like in the following picture?

enter image description here

Please ignore the top part of the cylinder. I am more curious to know whether it would be possible warping an UIView around like the side of the cylinder as in the image.

Is that possible only making use of Quartz 2D, layers and transformations (not OpenGL)? If not, is it possible to at least draw it in CGContext to make a view appear like so?

Nov 10, 2022 in Mobile Development by gaurav
• 23,260 points
808 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Mobile Development

0 votes
0 answers

How to fetch the width and height of a programatically added view in Swift/ iOS?

I have added a UIView and a ...READ MORE

Nov 10, 2022 in Mobile Development by gaurav
• 23,260 points
1,136 views
0 votes
0 answers

How do I stop iOS from converting a small pointing right triangle character into a rectangluar boxed triangle symbol?

 I've tried entering the small pointing right ...READ MORE

Nov 16, 2022 in Mobile Development by gaurav
• 23,260 points
416 views
0 votes
0 answers

Opening Instagram app from a link on iOS

I am providing a feed which is ...READ MORE

Nov 8, 2022 in Mobile Development by gaurav
• 23,260 points
1,115 views
0 votes
0 answers

How to login to a site using POST request? (Swift,iOS)

I want to create an iOS Application ...READ MORE

Nov 9, 2022 in Mobile Development by gaurav
• 23,260 points
701 views
0 votes
0 answers

IOS: copy a file in documents folder

In my project I have two file ...READ MORE

Nov 11, 2022 in Mobile Development by gaurav
• 23,260 points
396 views
0 votes
0 answers
0 votes
0 answers

How to draw heart shape in UIView (iOS)?

I want to create different shapes. Below ...READ MORE

Nov 10, 2022 in Mobile Development by gaurav
• 23,260 points
666 views
0 votes
1 answer

How do I create folder under an Amazon S3 bucket through PHP API?

Of Course, it is possible to create ...READ MORE

answered Apr 24, 2018 in AWS by anonymous
11,442 views
0 votes
1 answer

Detecting BLE beacons that are not ibeacons on IOS

You'll have to understand that CoreLocation is ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
886 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP