Segmented Bar Style Differs for IOS and Android


I am new to nativescript angular. i tried to implement in my project but the style of the segmentbar differs for ios and it possible to implement both in the same style?.as per my need the style what i am getting for the android should be in the ios. i cant find any solution in google.
the following is the style i want in ios platform.

thanks in advance