Closed ritika1159 closed 7 years ago
Hi,
I have seen that but i want to know that when user select the image for first time it is setting cropview as of imagesize. It is calculating maxbounds (). I want to know how will it set 1:1 aspect ratio and lock it by default.
Thanks Ritika
Hi @ritika1159
self.setCropAspectRect(aspect: "1:1") self.lockAspectRatio(true)
Hi,
I have seen that but i want to know that when user select the image for first time it is setting cropview as of imagesize. It is calculating maxbounds (). I want to know how will it set 1:1 aspect ratio and lock it by default.
Thanks Ritika