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
Post a Comment