-
-
Notifications
You must be signed in to change notification settings - Fork 738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On Iphone 4 the ActionSheetStringPicker doesn't work Well #5
Comments
Hello! Only on device? in simulator it works fine? |
Hi Petr,
If you need something more, tell me! Mauro |
Just for sure: try to set origin to - (IBAction)categoryFilter:(UIControl *)sender {
NSString * language = [[NSLocale preferredLanguages] objectAtIndex:0];
if([language isEqualToString:@"it"]){
[ActionSheetStringPicker showPickerWithTitle:@"Filtra Categoria"
rows:self.categories
initialSelection:0
target:self
successAction:@selector(filterMap:)
cancelAction:nil
origin:self.view];
}
else{
[ActionSheetStringPicker showPickerWithTitle:@"Filter Category"
rows:self.categories
initialSelection:0
target:self
successAction:@selector(filterMap:)
cancelAction:nil
origin:self.view];
}
} |
Already tryed but no results. |
Is this problem still actual? |
Very strange. |
I add them in storyboard, they're fixed, nothing is added programmatically |
well, go ahead. Please, set the breakpoint on the line: Here is most strange part of legacy code. |
self.viewSize.height = 480 |
Interesting thing is, I am observing the same problem with iPhone 4. If you adjust the brightness of the area below the "Filtra Categoria" you will need a vertically compress version of the scroll wheel. |
@89moku Yes, it's correct. I have no idea why this could happen. @Frozenleaf Very strange bug. So, what about example project? Is it works on iPhone 4? |
I'm getting the same thing on iPhone 4, 7.1.1 The values I get for the above are self.viewSize.height = 480 On iPad 4, 7.1.1, running as an iPhone app, the problem goes away. |
I think I've sorted it and added a Pull Request. |
@JaseElder thanks! 👍 You're do it right! |
try to update pod: |
pod's all good for me. |
Works great now. Thanks. |
Hi Everyone,
when I'm using this picker on iphone 4 (and only on real device) I've this bug. If I try the same code on the Iphone 3,5 inch simulator it works well...
What it can be?
Thank you so much, best regards!
The text was updated successfully, but these errors were encountered: