简体   繁体   中英

How to solve range slider zoom in ios

I am using a range slider in my site. site link . click on the options on the header and you will see the range slider. its ion range slider jquery plugin. Its working good on desktop and android. But in ios, when i click on the range slider to change its automatically zoom which I don't want. i just need it plain as desktop.

and one more problem in ios. the search bar border has no radius but it shows radius on ios.

Can you please help me.

Thanks in advance.

Search Bar Radius:

for (UIView *searchBarSubview in [mySearchBar subviews])

{

if ([searchBarSubview conformsToProtocol:@protocol(UITextInputTraits)])

{
@try

{

[(UITextField *)searchBarSubview setBorderStyle:UITextBorderStyleRoundedRect];

}

@catch (NSException * e)

{

// ignore exception

}

}

}

(void)viewDidLoad

{

[super viewDidLoad];

UITextField *txfSearchField = [search valueForKey:@"_searchField"];

[txfSearchField setBackgroundColor:[UIColor whiteColor]];

[txfSearchField setLeftView:UITextFieldViewModeNever];

[txfSearchField setBorderStyle:UITextBorderStyleRoundedRect];

txfSearchField.layer.borderWidth = 8.0f;

txfSearchField.layer.cornerRadius = 20.0f;

txfSearchField.layer.borderColor = [UIColor clearColor].CGColor;


// Do any additional setup after loading the view, typically from a nib.

}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM