茄子在线看片免费人成视频,午夜福利精品a在线观看,国产高清自产拍在线观看,久久综合久久狠狠综合

    <s id="ddbnn"></s>
  • <sub id="ddbnn"><ol id="ddbnn"></ol></sub>

  • <legend id="ddbnn"></legend><s id="ddbnn"></s>

    ios中uialertview控件的使用
    來源:易賢網 閱讀:1256 次 日期:2014-12-12 15:54:48
    溫馨提示:易賢網小編為您整理了“ios中uialertview控件的使用”,方便廣大網友查閱!

    - (void)initcheckversionwithdata:(nsdata *)data

    {

    nsdata *xmldata = data;

    nsstring *result = [[nsstring alloc] initwithdata:xmldata encoding:nsutf8stringencoding];

    nslog(@result:%@,result);

    getcheckversion *parser = [[getcheckversion alloc] initwithxmldata:xmldata];

    [parser parse];

    nsstring *status = parser.tempresult.status;

    nslog(@status:%@,status);

    if ([@201 isequaltostring:status]) {

    nslog(@版本不需要更新,ok);

    }

    else if ([@200 isequaltostring:status]) {

    uialertview * alertview = [[uialertview alloc] initwithtitle:@提示 message:@是否更新版本 delegate:self cancelbuttontitle:@取消 otherbuttontitles:@確定, nil];

    [alertview show];

    [alertview release];

    alertview = nil;

    }

    }

    - (void)alertview:(uialertview *)alertview clickedbuttonatindex:(nsinteger)buttonindex

    {

    nsstring *msg = [[nsstring alloc] initwithformat:@您點擊的是第%d個按鈕!,buttonindex];

    nslog(@msg:%@,msg);

    if (buttonindex == 0) {

    return;

    }else if(buttonindex == 1){

    [httpclient getupdateversion];

    }

    }

    更多信息請查看IT技術專欄

    更多信息請查看技術文章
    易賢網手機網站地址:ios中uialertview控件的使用

    2026上岸·考公考編培訓報班

    • 報班類型
    • 姓名
    • 手機號
    關于我們 | 聯系我們 | 人才招聘 | 網站聲明 | 網站幫助 | 非正式的簡要咨詢 | 簡要咨詢須知 | 新媒體/短視頻平臺 | 手機站點 | 投訴建議
    工業(yè)和信息化部備案號:滇ICP備2023014141號-1 云南省教育廳備案號:云教ICP備0901021 滇公網安備53010202001879號 人力資源服務許可證:(云)人服證字(2023)第0102001523號
    聯系電話:0871-65099533/13759567129 獲取招聘考試信息及咨詢關注公眾號:hfpxwx
    咨詢QQ:1093837350(9:00—18:00)版權所有:易賢網