开发者

how to add uipickerview with uibutton programmaticaly in iphone

开发者 https://www.devze.com 2023-02-06 07:11 出处:网络
Im new to iPhone development.Now im doing application in that i want to add pickerview开发者_如何学编程 with button without using IB.Here i added pickerview and button programmaticaly in iphone.But Wh

Im new to iPhone development.Now im doing application in that i want to add pickerview开发者_如何学编程 with button without using IB.Here i added pickerview and button programmaticaly in iphone.But When i run this application in pickerview I added some names that was not showing.It was showing only empty pickerview and when i click button the pickerview displayed in top of the view not in down.I searched in all sites but there is no data for this pickerview with button.I added pickerview view in uiaction sheet and i declared pickerview.

Can any one plz give code for this uipickerview with uibutton programmaticaly in iphone.

Thank you in advance.


Have you add in main view..? Like [self.view addSubview:???];

0

精彩评论

暂无评论...
验证码 换一张
取 消