ios - How to show buttons horizontally in uipopoverviewcontroller -


i want create popoverviewcontroller 3 buttons only(add, delete, edit). should show horizantally. used action sheet showing vertically. how achieve this?

thanks

--j

  • create viewcontroller 3 buttons horizontally , there action
  • set contentsizeinpopover in viewdidload method
  • set xib freeform , make desired size buttons

show popover

[popover presentpopoverfromrect:senderbutton.bounds inview:senderbutton permittedarrowdirections:uipopoverarrowdirectionleft animated:yes]; 

Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -