从TextField Swift 4中删除rightView属性

时间:2018-08-17 11:58:04

标签: ios swift uitextfield

我正在对文本字段使用rightview属性,如果其中包含一些文本。如果文本字段不包含任何文本,则需要删除该属性。我搜索了很多链接,但没有找到任何答案。请帮助我。

要添加rightView属性

$.noConflict();
jQuery(document).ready(function ($) {
    $('#d_1').click(function () {
    $(this).animate
    (
        {
        width: '200px'
      },
      {
        duration: 800,
        complete: function () {
            $(this).css({
                    backgroundColor: 'red'
                });
        },
        done: function () {
            $(this).css({
                    backgroundColor: 'blue'
                });
        }
      }
    )
  });
})

0 个答案:

没有答案
相关问题