Skip to content
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

iOS 6 - createToolbarLabelWithTitle - UITextAlignmentCenter #65

Closed
cjazz opened this issue Jan 3, 2013 · 4 comments
Closed

iOS 6 - createToolbarLabelWithTitle - UITextAlignmentCenter #65

cjazz opened this issue Jan 3, 2013 · 4 comments

Comments

@cjazz
Copy link

cjazz commented Jan 3, 2013

Hi Tim, I found something minor for iOS 6 compatibility. In AbstractActionSheetPicker.m, the method createToolbarLabelWithTitle is leveraging UITextAlignmentCenter, and it's deprecated at 2.0. Recommendations to use NSTextAlignmentCenter. Probably thought of as a minor issue.
By the way, I'm liking ActionSheet Picker a lot! I was trying to use it with a static table view with strange results but then went with a UIViewController instead. Cheers!

@cjazz
Copy link
Author

cjazz commented Jan 23, 2013

I figured out how to utilize this solution with Static Table view cells... Put a clear button on top, and underneath it, place a UIText field (if you require a value returned). Also disable user interaction on that UITextField.

@booiiing
Copy link

OT: I'm using the ActionSheetStringPicker and ActionSheetDatePicker via their static show-methods in a static UITableViewController without problems or hacks here. I call them from didSelectRowAtIndexPath and use self.view as origin.

@cjazz
Copy link
Author

cjazz commented Jan 25, 2013

Interesting! I need to try that. I hadn't realized that there was a static show method.
Now that I'm digging thru the classes I may be able to improve on my above work around.

@skywinder
Copy link
Collaborator

UITextAlignmentCenter is already replaced by NSTextAlignmentCenter.

I hope the problem with tableView was solved.
If you still need help - reopen this issue please.

@ma2kubo
Copy link

ma2kubo commented May 27, 2014

Evernote was unable to submit your note for the following reason:

The emailed note was received, but Evernote did not understand the email address. It may have been mistyped, or the user may not exist. Please check to make sure the address was properly entered.

Original message information:
From: Petr Korolev <[email protected]>
Delivered To: [email protected]
All recipients: TimCinel/ActionSheetPicker <[email protected]>
Subject: Re: [ActionSheetPicker] iOS 6 - createToolbarLabelWithTitle - UITextAlignmentCenter (#65)

To prevent excessive emails, you may not receive another error reply for the next 360 minutes.

  • The Evernote team

ChronicStim pushed a commit to ChronicStim/ActionSheetPicker that referenced this issue Oct 16, 2014
ChronicStim pushed a commit to ChronicStim/ActionSheetPicker that referenced this issue Oct 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants