xamarin.ios - UISegmentedControl is not looking properly in ios7 for monotouch -
i using below code uisegmentcontrol in ios7 not looking properly.
code:
sharewithfriendsegment = new uisegmentedcontrol (new rectanglef (movingxcordinate, movingycordinate, 228, 33)); sharewithfriendsegment.controlstyle = uisegmentedcontrolstyle.bar; sharewithfriendsegment.tintcolor = stylehelper.colors.blue; sharewithfriendsegment.backgroundcolor = stylehelper.colors.clear; sharewithfriendsegment.insertsegment (stylehelper.images.sharewithmeon, 1, false); sharewithfriendsegment.insertsegment (stylehelper.images.sharewithfriendsoff, 2, false); sharewithfriendsegment.insertsegment (stylehelper.images.sharewitheveryoneoff, 3, false); sharewithfriendsegment.selectedsegment = 0;
Comments
Post a Comment