Iphone 在Nevigationbar中使用UISegmentController显示通讯簿
任务:Iphone 在Nevigationbar中使用UISegmentController显示通讯簿,iphone,ios,addressbook,uisegmentedcontrol,mainwindow,Iphone,Ios,Addressbook,Uisegmentedcontrol,Mainwindow,任务: 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 . Bec
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”的应用程序
因此,只需在MainWindow.xib中添加UISegmentController就可以了。它显示在那里,但我无法从那里访问iAction功能,也无法从ContactviewController中查找数据
提前谢谢。我猜您是在用您的xib中的iAction连接触控室内。将其附加到valueChanged事件。不,我没有这样做。我已经使用了valueChanged。我的主要问题是,如何将一个段分配给所有数据,将另一个段分配给另一个表。。我的所有联系人都来自一个视图,我不知道如何在我的应用程序代理文件中使用这些数据。。现在你明白了,先生??我想在一个部分调用整个通讯录,在另一个部分调用一些选定的联系人。。M在一个选项卡栏视图(在其导航栏中)中有两个段。。我从另一个视图调用所有联系人数据。我想从App delegate调用它。。