How to copy and paste custom emoticon - iphone

I want to copy custom emoction from my iphone app and want to paste in anywhere in textbox inside or outside my application or i can use it in comments on instagram and facebook.I got reference app https://itunes.apple.com/au/app/emoji-for-facebook/id652079241?mt=8 that same i want to apply in my application.
can anybody help me,how do i achieve this mechanism? my custom emoticons are stored in collection view as a image.how do i copy image and paste it into comments on social networking.

The emoticons used in text are in fact Unicode characters. So the "custom" emoticons are just using a special font, not images. The app you're referencing simply seems to use the same font as the Facebook app.
So the real answer is: you copy and paste them like normal text. And you cannot control how they will look like in other apps, as that is dependent on the font the other app is using.

Related

How to use different font for iPhone devices?

My website's Arabic font letters appears separated from each other which makes it un readable so I want to use a different font that will display only on iPhone & iPad devices in wordpress, I am using Elementor to design the site. Is there's a code or plugin I can use to apply different font for iOS devices?
https://ozaro.com/ar/our-history/
Well you cant do that just using css. You'll need JavaScript too.
Here is an answer on finding if device is iOS or not.
So basically this is what you'll have to do.
Set a unique classname for the parts of your website you need that font to be applied. E.g. "arabicf"
Go to your footer builder and drag drop an html widget.
Inside the widget write your js between script tags.
P.s. the logic behind the js is simple
If ios then "arabicf" style fontFamily = X.

Using contentEditable inside Flutter's webview

For an application I need a document that is able to record and display among each other any type (text, audio, video, HTML, maybe PDF) that the user enters or inserts.
At first I wanted to use a listview with different types of widgets (textfields, video via plugin, webview via plugin etc.), but it seemed much too complicated to me. For example, how could I have selected parts of a text field, the following image and parts of the next text field at the same time?
Actually, the document format that I need already exists: HTML. If you set the attribute "contentEditable" accordingly, it is not a big problem to let the user change the document in any way with the help of JS. And this is exactly my problem: If I use the Webview (Developer Preview) of the Flutter team (webview_flutter), the attribute "contentEditable" is apparently ignored. I can't mark text and no keyboard appears.
Am I doing something wrong or does the plugin not (yet) support this attribute? Otherwise, is there an alternative? I have to say that I am an absolute beginner in Flutter.

How to select text in DTAttributedTextView?

I'm using DTCoreText DTAttributedTextView in my app to highlight the urls in my text. My other criteria is to be able to select by tapping and holding similar to UITextView. However, DTAttributedTextView doesn't seem to to use a UITextView as a placeholder. Anybody has an idea how I can achieve this?
Thanks
That's a feature that's only available via the paid version of DTCoreText.
from the github page
This is useful for drawing simple rich text like any HTML document without having to use a UIWebView. For text selection and highlighting (as you might need for an Editor or Reader) there is the commercial DTRichTextEditor component which can be purchased in the Cocoanetics Parts Store.

How to allow text highlighting in an iPad app?

I'm making an iPad magazine app where the user will be able to highlight any amount of the text. These highlights will need to be saved and appear everytime that article is loaded.
Can I do this somehow with CoreText (which is currently what I am using to allow multi-columned formatting)?
I have noticed that selecting text using HTML in a UIWebView doesn't work properly if there are images within the text.
Anyone have any advice?
Thanks a lot,
-Chris
There's no built in support in CoreText for selection or "Copy & Paste", but you can make your own selection engine using some CoreText functions.
Take a look at this other topic post.
Core Text - select text in iPhone?

Annotating text in UIWebView

I am writing a app that has a UIWebView that displays a HTML5 page. I want to annotate some text on the web page and save it in SQLite database. The annotated text must be changed to a specific color as a visual effect.
Any suggestions that how can I select and get the text back in Objective-C?
You have two choices:
Parse the HTML5 document by hand
Inject Javascript into the page and walk the document. See Search and highlight text in UIWebView