iOS Question Searchview question

Discussion in 'iOS Questions' started by tufanv, Jun 22, 2015.

  1. tufanv

    tufanv Expert Licensed User


    I am using searchview as a textbox to list some items while typing. my problem is while i ca select from the designer a normal textbox's keyboard type as : ascii capable and returnkey as DONE , I cant select anything for searchview's textbox as it is not listed in the visual designer. How can i change those with sv ?

    btw, how can i make searchview unvisible or remove from parent ?

  2. Erel

    Erel Administrator Staff Member Licensed User

    You can set it in the Initialize sub:
    et.KeyboardType = et.TYPE_ASCII_CAPABLE
    Make et a public variable and then you can hide it or show it.
    tufanv likes this.