I am not sure how to correctly name the thing that I am looking for. Therefore I was not able to find an answer.
The effect I want to learn is for example used in the iMessage app when adding a recipient you can write the recipients name, then it is replaced by a clickable button and user is able to select then delete it by pressing delete key.
How can this be done?
Sample image from iMessage app:
Related
Im new to slack app development and did search for a while now but the most customizable ui elements that i found so far were those listed in surfaces.
What i would like to do is add a new ui element to the account details you see when clicking on a users name, but im not sure if that is even possible.
I would either want to add a button at the top or some text further down.
You can use the [users.profile.set][1] method to set additional information for a user profile. This might be the closest approach to what you want but it will only allow you to add text fields, it's not possible to modify or add other UI elements like buttons.
At present I am working on GIF keyboard plugin for iOS.
Following github link give me good start to move ahead.
SamStone92/kanyekeyboad
I want to put my custom emojies over custom keyboard. Using above reference project I can able to achieve same thing but in this there is one problem exist and that is very frustrating for end user.
Problem: To place any emoji into text area, first you need to click on emoji from keyboard then Copy button is available for you, you need to press that.
Then you need to touch on text area, at that time another button with label Paste is available on screen. You need to press this button to get actual emoji in text area. I want to remove this.
Following image gives you more idea:
Target: I want to implement, you just need to touch on keyboard emoji and it will directly paste on text area. Like we are doing in Skype or any other messaging application.
in iOS9 if you look at the app phone or message when you make a deep press on the app icon you have a shortcut menu appearing containing custom dynamic choices such as the last person or the favorite person to contact. But they say we should put all the information regarding those shortcut in the info.plist thus I am wondering how can they populate the info.plist with changing informations.
I'm using ProtractorJS (and Appium) to test a website on browsers and devices. One of the tests is to type some text in the search box and then hit ENTER. Here is the snippet from the page object.
page.searchInput.sendKeys("Text");
page.searchInput.sendKeys(protractor.Key.ENTER);
The above two lines work fine on any browser and Android devices. However, the same test fails on iOS because the ENTER key is not sent. In the iOS keyboard the key I have to press is the "Search" one.
The test must trigger the search using the keyboard.
Any ideas on how to send the ENTER key on iOS?
If there is no button on the page, Safari will be stubborn about it and not submit the form. In general, I use the button tag instead of the input tag and have better results, but either way unless there is a submit button on the page, and that button is visible (see this question for reference: How to submit a form when the return key is pressed?), Safari will stubbornly refuse to submit the page. In this case, I would put a submit button on the page even though most users will never use it on mobile. You may have fits getting it past your design department. The other option is to use a blur event and trigger it that way.
You can send just new line symbol \n or create tap by coordinate proportions at the right lower corner of the app.
I have a string which I am getting from the server and is dynamic. It is of the format:
<p> John Appleseed Hey http://google.com </p>
Couple of related questions I want to ask in one thread
I want to make the mention text and the URL text to appear in bold and different colour
When URL is tapped it should open a the link in WebView
When the mention text is tapped, it should perform some other action (open User Profile VC)
When tapping mention text, it should send a parameter (uid) to the method, the uid can be extracted from mentions-32 (32 is uid here)
This string can have multiple mentions and links. I am stripping off the HTML tags and I get plain text. I know there is library TTTAttributedLabel which can be used here
Note: This functionality can be compared to what facebook or twitter app does on Newsfeed post text. (Tapping on tag takes the user to User Profile and tapping on the hyperlink opens a webview)
I think the better option to use the GLTapLabel GitHub Demo it is useful for the custom UILabel view controller for iOS that works just like a regular UILabel.
Hope this Demo is helpful u.