blog.kulman.sk/creating-context-menu-with-highlight

Preview meta tags from the blog.kulman.sk website.

Linked Hostnames

6

Thumbnail

Search Engine Appearance

Google

https://blog.kulman.sk/creating-context-menu-with-highlight

Creating iOS context menu with highlight and dim

The iOS messaging application I work on features a context menu in the chat. You long-press any message in the chat and the context menu appears. This menu was originally implemented using the standard UIMenuController. The UIMenuController is an old-style iOS API that is hard to use and does not work very well. In some situations tapping its items just did not call the assigned selectors and the menu did not work. As part of the ongoing redesign of the application I decided to implement a new custom context menu that would look as the designer imagined and more importantly work reliably. I did not want to use any 3rd party library to keep it as simple and possible. Using just UIKit I came up with a context menu with a dim effect and a highlight on the selected item Here is how I approached building it.



Bing

Creating iOS context menu with highlight and dim

https://blog.kulman.sk/creating-context-menu-with-highlight

The iOS messaging application I work on features a context menu in the chat. You long-press any message in the chat and the context menu appears. This menu was originally implemented using the standard UIMenuController. The UIMenuController is an old-style iOS API that is hard to use and does not work very well. In some situations tapping its items just did not call the assigned selectors and the menu did not work. As part of the ongoing redesign of the application I decided to implement a new custom context menu that would look as the designer imagined and more importantly work reliably. I did not want to use any 3rd party library to keep it as simple and possible. Using just UIKit I came up with a context menu with a dim effect and a highlight on the selected item Here is how I approached building it.



DuckDuckGo

https://blog.kulman.sk/creating-context-menu-with-highlight

Creating iOS context menu with highlight and dim

The iOS messaging application I work on features a context menu in the chat. You long-press any message in the chat and the context menu appears. This menu was originally implemented using the standard UIMenuController. The UIMenuController is an old-style iOS API that is hard to use and does not work very well. In some situations tapping its items just did not call the assigned selectors and the menu did not work. As part of the ongoing redesign of the application I decided to implement a new custom context menu that would look as the designer imagined and more importantly work reliably. I did not want to use any 3rd party library to keep it as simple and possible. Using just UIKit I came up with a context menu with a dim effect and a highlight on the selected item Here is how I approached building it.

  • General Meta Tags

    11
    • title
      Creating iOS context menu with highlight and dim - Igor Kulman
    • charset
      utf-8
    • X-UA-Compatible
      IE=edge
    • viewport
      width=device-width, initial-scale=1, shrink-to-fit=no
    • theme-color
  • Open Graph Meta Tags

    5
    • og:title
      Creating iOS context menu with highlight and dim
    • og:description
      The iOS messaging application I work on features a context menu in the chat. You long-press any message in the chat and the context menu appears. This menu was originally implemented using the standard UIMenuController. The UIMenuController is an old-style iOS API that is hard to use and does not work very well. In some situations tapping its items just did not call the assigned selectors and the menu did not work.
    • og:type
      article
    • og:url
      https://blog.kulman.sk/creating-context-menu-with-highlight/
    • og:image
      https://blog.kulman.sk/creating-context-menu-with-highlight/Menu.png
  • Twitter Meta Tags

    4
    • twitter:card
      summary_large_image
    • twitter:image
      https://blog.kulman.sk/creating-context-menu-with-highlight/Menu.png
    • twitter:title
      Creating iOS context menu with highlight and dim
    • twitter:description
      The iOS messaging application I work on features a context menu in the chat. You long-press any message in the chat and the context menu appears. This menu was originally implemented using the standard UIMenuController. The UIMenuController is an old-style iOS API that is hard to use and does not work very well. In some situations tapping its items just did not call the assigned selectors and the menu did not work.
  • Item Prop Meta Tags

    7
    • name
      Creating iOS context menu with highlight and dim
    • description
      The iOS messaging application I work on features a context menu in the chat. You long-press any message in the chat and the context menu appears. This menu was originally implemented using the standard UIMenuController. The UIMenuController is an old-style iOS API that is hard to use and does not work very well. In some situations tapping its items just did not call the assigned selectors and the menu did not work.
    • datePublished
      2019-08-14T05:29:12+01:00
    • dateModified
      2019-08-14T05:29:12+01:00
    • wordCount
      699
  • Link Tags

    10
    • apple-touch-icon
      https://blog.kulman.sk/apple-touch-icon.png
    • canonical
      https://blog.kulman.sk/creating-context-menu-with-highlight/
    • icon
      https://blog.kulman.sk/favicon.ico
    • preload
      https://blog.kulman.sk/theme.png
    • preload
      https://blog.kulman.sk/images/avatar.jpg

Links

21