簡體   English   中英

在Nevigationbar中使用UISegmentController顯示通訊錄

[英]Show Addressbook with UISegmentController in Nevigationbar

任務:

I want to show my all contact in one UItable and Which parts all contacts  with UISegmentcontroller which is in Nevigationbar.

My Application is Tabbar Application so When I show my UISegmentController I have to add it in my Mainwindow xib . Becoz of that I cant access my Contactview data from app delegate file .

我想使“我的通訊簿”看起來像名為“ Viber (http://itunes.apple.com/in/app/viber-free-phone-calls-text/id382617920?mt=8)的應用程序”

..

因此,只需要幫助將UISegmentController添加到我的MainWindow.xib中即可。 它顯示在那里,但是我無法從那里訪問我的IBAction函數,也無法從ContactviewController.m中獲取數據。

提前致謝 。

我想您是通過xib將IBAction附加到touchupinside。 使用valueChanged事件來吸引它。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM