When it's time to tip at a restaurant or bar, I'll try some math math, but sometimes I can quickly open the calculator from the control center on my iPhone and do a quick calculation. But with Apple's Shortcuts app, there's an even easier way, and you do not even have to leave your lock screen to get the results.
Before you focus on building your own iOS workflows on your iPhone, it's beneficial to learn how shortcuts work by using some that have already been created and are ready for you. A Tips Calculator is one of the simplest ready-made shortcuts available in the iOS 12 Shortcut app, though it may seem complicated to see how it works.
Note that you have not yet installed iOS 1
Step 1: Add the & # 39; Calculate Tip & # 39; – Shortcut
Open the keyboard shortcut, tap the Gallery tab, and then tap Find, then type calculate. If nothing is displayed, you can open the Calculate Tip preset shortcut directly in shortcuts.
Tap Calculate Tip, and then click Get Link. After downloading, tap the Library tab, tap the "Calculate tip" workflow with 3D Touch, or tap the ellipsis (•••) in the box.
Tap the Play button at the top to see how it works. This will display a pop-up asking "what's the bill?" Quantity, so enter that and tap OK. Then, in the next popup, choose between 12%, 15%, 18%, or 20% to see your tip amount and the new total amount. Tap "OK" to complete the process.
When you're satisfied, tap the "Done" label at the top, then exit the Shortcuts app.
There are two ways to add a widget for shortcuts to your Today view. First, you can simply use 3D Touch on the App shortcuts icon on your home screen and then tap "Add widget" in the displayed widget. Second, you can swipe right from the first Home screen, the lock screen, or the notification window, and then tap Edit at the bottom of the Show Today page. Touch the "+" symbol next to Shortcuts and then "Done".
Step 4: Calculating tips Faster over the lock screen
Now, if you have the tip for a To calculate an invoice quickly, swipe right from the lock screen, then tap Calculate tip in the Shortcuts widget. Tap "Show more" to expand the widget, enter the total and tap "OK". Lastly, choose the percentage of bets to use, and Shortcuts will tip you off the total and the new total.
To access the same widget as above You can swipe right from the first home screen page or in the notification window. Follow the instructions in step 4 to use the widget in your Today view.
You can also access the tip calculator using the 3D Touch menu on the home screen. 3D only Tap on the app shortcuts icon and then on "Calculate Tip". This will lead you directly to the workflow in the app, similar to step 2 above.
Alternatively, you can add a Start Screen shortcut to the calculator in the app. Use the Library tab to directly return to the Calculate Hint workflow app. Now tap the settings icon at the top and then tap "Add to Home". This will open a link to the link in Safari, then simply add it to your home screen like any other web page.
Step 6: Create a Siri Join for It
This differentiates the old workflow app from the new Shortcuts app. Open the shortcut workflow again and then select the settings icon. You'll see a "Add to Siri" option, so tap. On the next screen, tap "Enter Phrase" and enter the phrase you want to use with Siri. Press "Done", then "Done" to save.
Now, if you want to use Siri to access the calculator, activate Siri the way you normally would, just say "calculate tip" or whatever you've chosen for a set. Siri opens the tip calculator directly in the Shortcuts app so you can enter an amount. For me it's easy to use the widget when I'm on the lock screen, but Siri could work better if you're busy in an app.
After you had the chance with the Play around tip calculator, you can play back in with the workflow of the linkage. This is a fairly basic workflow to learn from.
The first action box is "Ask for input," which is simply the question that pops up ("What is the bill?") And the type of input ("Number") you do not need anything else.
The second action bar, "Choose from the menu," appears at the prompt after you enter the invoice amount "What's the Invoice?" Is displayed. It asks "How much do you want to tip?" Displayed.
If you want to add your own tip amount, tap "+ Add New" and then delete the text that will be inserted automatically with the new top percentage you want in the selection menu.
Under this action bar, you can see that each percentage line has its own line with its own action box underneath it, so to the original amount you type to tip 18% of the bill, it would be .18 It knows what to multiply later.
You'll notice, however, that there is no action bar below the new percentage you've added. You need to add it yourself, so tap on the "Actions" tab below and look for "Number" under Scripting .
Tap and hold the points to the right Then drag it to the right position below the new percentage line. Then tap on the "Number" box you've added and use your 0.XX multiplier, in my case 0.22 for 22%, then hit "Done" above the keyboard.
After the "Add Menu" line, the action button "Get Variable "is displayed. This is the amount you enter for the invoice amount.
The next Calculate action button selects the multiplication for the PercentTipping operand (the percentage you selected) and uses the invoice amount multiply by the typing percentage.
The actionbox after that, "Format Number", simply says to format the result with two decimal places (for cents)
There's another Calculate action box to add the last calculated number to the BillAmount operand
The next action box, another "Format Number", does the same thing as before – formatted the second calculated amount with two decimal places (for cents)  Calculate Tips Faster on Your iPhone Using the Shortcuts App ” width=”532″ height=”532″ style=”max-width:532px;height:auto;”/>