1 thought on “iOS splicing group chat avatar (imitate WeChat group chat avatar)”
Oliver
I have done an integrated environment before, which involves the group chat part. The boss requires to make the avatar of WeChat group chat. I wrote a DEMO to imitate WeChat group to talk about avatars
Simple, drag the UIImage addting class into the project, and call the place where it needs to be displayed:
1. Load the network picture to use this method n 2. Load local pictures and use it. (Generally not to load local pictures):
3. Effect chart:
4. Finally, this is the Icon operation of the mobile phone. The process of this process of loading affects the performance of the APP. Therefore, the more reasonable method is: when creating a group, upload the image obtained through this method to the server. When we get the group information, the server returns the URL, and the server returns URL. I will load it through the URL every time.
I have done an integrated environment before, which involves the group chat part. The boss requires to make the avatar of WeChat group chat. I wrote a DEMO to imitate WeChat group to talk about avatars
Simple, drag the UIImage addting class into the project, and call the place where it needs to be displayed:
1. Load the network picture to use this method
n 2. Load local pictures and use it. (Generally not to load local pictures):
3. Effect chart:
4. Finally, this is the Icon operation of the mobile phone. The process of this process of loading affects the performance of the APP. Therefore, the more reasonable method is: when creating a group, upload the image obtained through this method to the server. When we get the group information, the server returns the URL, and the server returns URL. I will load it through the URL every time.