keyboard - How to prevent iOS Messages app from cropping pasted image? -



keyboard - How to prevent iOS Messages app from cropping pasted image? -

i'm working on app lets people re-create , paste images. image copied this:

nsstring *path = [[nsbundle mainbundle] pathforresource:@"circle" oftype:@"png"]; uipasteboard *pasteboard = [uipasteboard generalpasteboard]; nsdata *data = [nsdata datawithcontentsoffile:path]; [pasteboard setdata:data forpasteboardtype:@"public.png"];

when pasting in notes app, works fine. in messages app, crops right side of image. there way prevent this?

you cannot prevent this, since apple's ui idea. although can set transparent borders image though messages.app clips image main part of still visible.

ios keyboard sms copy-paste imessage

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -