zoukankan      html  css  js  c++  java
  • UITextField 对键盘一些常用属性 记录一下

    autocapitalizationType            设置键盘自动大小写的属性     UITextAutocapitalizationTypeNone 

    autocorrectionType  property  设置是否有自动修改提示   UITextAutocorrectionTypeNo

    enablesReturnKeyAutomatically   Boolean值-设置在用户没有输入是returnKey禁用,默认值NO

      keyboardAppearance  设置键盘显示方式  除了默认模式  还有一个UIKeyboardAppearanceAlert模式

    keyboardType               设置键盘类型

    typedefenum {  

        UIKeyboardTypeDefault,               //默认键盘:支持所有字符  

        UIKeyboardTypeASCIICapable,          //支持ASCII的默认键盘  

        UIKeyboardTypeNumbersAndPunctuation, //标准电话键盘,支持+*#等符号  

        UIKeyboardTypeURL,                   // URL键盘,有.com按钮;只支持URL字符  

        UIKeyboardTypeNumberPad,             //数字键盘  

        UIKeyboardTypePhonePad,              //电话键盘  

        UIKeyboardTypeNamePhonePad,          //电话键盘,也支持输入人名字  

        UIKeyboardTypeEmailAddress,          //用于输入电子邮件地址的键盘  

    } UIKeyboar;

  • 相关阅读:
    ps cc 2018安装
    eclipse 快速添加 set , get 方法
    电脑设置以太网
    C# 获取web.config配置文件内容
    C# @Page指令中的AutoEventWireup,CodeBehind,Inherits
    未能正确加载“Microsoft.VisualStudio.Implementation.EditorPackage”包
    C# 实现MD5加密
    mutex 简单介绍
    select @@IDENTITY
    C# vs2012创建报表
  • 原文地址:https://www.cnblogs.com/fuunnyy/p/5260899.html
Copyright © 2011-2022 走看看