Monday, November 7, 2022

[FIXED] How to create copying pop-up?

Issue

I want to create same popUp as shown in image. This popUp is default in iPhone, but if I want to make it custom with my own message, how can I create it?

Here is the image. As u know this is by default in iPhone. But how can i create it by my own message in popUp


Solution

Cite from iOS Option Popup - Similar to Cut/Copy/Paste

UIMenuController and UIMenuItem is what you are looking for.

Here you find also an example project by Apple that explains how to use them.



Answered By - Szu
Answer Checked By - Cary Denson (PHPFixing Admin)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.