第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

如何以編程方式從UITextField禁用復(fù)制粘貼選項(xiàng)

如何以編程方式從UITextField禁用復(fù)制粘貼選項(xiàng)

犯罪嫌疑人X 2019-11-14 14:15:28
我正在制作一個具有UITextField的注冊Alertview,用戶可以在其中輸入其注冊號。一切都差不多,但是我想以編程方式從文本字段中刪除復(fù)制粘貼功能,因?yàn)樗鼈儾皇俏谋咀侄蔚腎nterfaceBuilder版本,所以我不知道該怎么做。到目前為止是我的UIalertview ...- (void)pleaseRegisterDevice {    UIAlertView *myAlertView = [[UIAlertView alloc] initWithTitle:@"Please Register Device!" message:@"this gets covered" delegate:self cancelButtonTitle:nil otherButtonTitles:@"OK", nil];    regTextField = [[UITextField alloc] initWithFrame:CGRectMake(12.0, 45.0, 260.0, 25.0)];    [regTextField setBackgroundColor:[UIColor whiteColor]];    regTextField.textAlignment = UITextAlignmentCenter;    [myAlertView addSubview:regTextField];    [myAlertView show];    [myAlertView release];}
查看完整描述

3 回答

  • 3 回答
  • 0 關(guān)注
  • 810 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號