Welcome to StackEdit! Hey! I’m your first Markdown document in StackEdit 1 . Don’t delete me, I’m very helpful! I can be recovered anyway in the Utils tab of the Settings dialog. Documents StackEdit stores your documents in your browser, which means all your documents are automatically saved locally and are accessible offline! Note: StackEdit is accessible offline after the application has been loaded for the first time. Your local documents are not shared between different browsers or computers. Clearing your browser’s data may delete all your local documents! Make sure your documents are synchronized with Google Drive or Dropbox (check out the Synchronization section). Create a document The document panel is accessible using the button in the navigation bar. You can create a new document by clicking New document in the document panel. Switch to another document All your local documents are listed in the document panel. You can switch from one to anoth...
As you know, default UIAlertView has a little chance for developers to customize.
You can just setup the title, message and text of buttons, and no more.
Even that, arrange the axis of buttons is not easy. iOS decided it for you automatically.
By default, if there are 1 or 2 buttons, iOS arranges them side - by - side.
If there are more than 2 buttons, iOS arranges them stacked.
I found TSAlertView, which let developers do something more with UIAlertView. You can visit this library here.
But, TSAlertView just supported arranges 2 buttons in stacked style, but if you want to arrange 3, or even more buttons in side - by - side, TSAlertView cannot support, even you set buttonLayout is TSAlertViewButtonLayoutNormal
I added some code to support side - by - side arrangement with multiple buttons.
Besides it, TSAlertView has many features you can discover later.
You can download my source code here.
And there are some pictures here:
Please let me know your ideas, and I am trying to improve this library.
You can just setup the title, message and text of buttons, and no more.
Even that, arrange the axis of buttons is not easy. iOS decided it for you automatically.
By default, if there are 1 or 2 buttons, iOS arranges them side - by - side.
If there are more than 2 buttons, iOS arranges them stacked.
I found TSAlertView, which let developers do something more with UIAlertView. You can visit this library here.
But, TSAlertView just supported arranges 2 buttons in stacked style, but if you want to arrange 3, or even more buttons in side - by - side, TSAlertView cannot support, even you set buttonLayout is TSAlertViewButtonLayoutNormal
I added some code to support side - by - side arrangement with multiple buttons.
Besides it, TSAlertView has many features you can discover later.
You can download my source code here.
And there are some pictures here:
Please let me know your ideas, and I am trying to improve this library.
Comments