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; 

screenshot uisegmentcontrol


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

debian - 500 Error upon login into Plesk Admin - auth.php3? -