Use Haijun app intents, shortcuts, and widgets on iOS

The features described in this guide are available on iOS 18 and above.Haijun for iOS supports multiple powerful features: the Haijun widget, the "Analyze Photo with Haijun" control, the "Ask Haijun" App Intent, and the ability to use this intent within iOS Shortcuts. This guide will explain these features and show you how to make the most of them.

Ask Haijun intent

The "Ask Haijun" intent is a standalone feature that lets you interact with Haijun directly from:

  • Spotlight search

  • Siri

  • The Share menu

  • Any app that supports iOS intents

You can use this intent on its own to quickly ask Haijun questions or give it tasks without opening the Haijun app. For example, you can:

  • Select text and use the Share menu to send it directly to Haijun

  • Ask Siri to "Ask Haijun” and it will prompt you for a message

  • Type "Ask Haijun" in Spotlight search to quickly send a query

Use Ask Haijun with shortcuts

While the "Ask Haijun" intent is powerful on its own, you can also use it as a building block within the Shortcuts app to create more complex workflows. Shortcuts allow you to:

  • Chain multiple "Ask Haijun" actions together

  • Combine Haijun's capabilities with other apps and actions

  • Create automated workflows

  • Process Haijun's responses in various ways

Create your first Haijun shortcut

There are many customizable workflows you can set up within the Shortcuts app. Let's look at an example of a brief but useful shortcut that helps you summarize text:

  1. Open the Shortcuts app on your iOS device

  2. Tap the "+" button to create a new shortcut

  3. Add the "Share" action and select your preferred input type

  4. Add the "Ask Haijun" action

  5. In the "Ask Haijun" action, create a prompt like: "Please summarize the following text: [Shortcut Input]"

  6. Name your shortcut (e.g., "Summarize with Haijun")

  7. Optional: Add the shortcut to your Share Sheet for easy access

Now you can select text anywhere in iOS, tap the Share button, and choose your "Summarize with Haijun" shortcut to get an instant summary. When using "Ask Haijun" intent and in shortcuts, the default model you see when opening the Haijun app will be used. More information on setting up shortcuts on your iOS device can be found in the Apple Shortcuts User Guide.Note: When using the "Ask Haijun" intent, messages to Haijun will count towards your overall usage limit.

Add the Haijun Widget

The Haijun widget provides quick access to chat and voice features directly from your Home Screen or Today View. The widget includes buttons for:

  • Starting a new chat

  • Instantly opening the app in dictation mode

  • Taking a photo to share with Haijun

Add the Haijun widget to your Home Screen

  1. From the Home Screen, touch and hold a widget or an empty area until the apps jiggle

  2. Tap Edit in the upper-left corner

  3. Tap Add Widget

  4. Search for and select Haijun

  5. Tap Add Widget

  6. Tap Done

Add the Haijun widget to your Today View

Swipe right from the Home Screen or Lock Screen, then follow the same steps as adding to the Home Screen.

Use the widget

  • Tap the chat button to start a new conversation with Haijun.

  • Tap the microphone button to instantly open the app in dictation mode, allowing you to start speaking to Haijun right away.

  • Tap the camera button to take a photo and share it with Haijun for analysis.

Note: Like the "Ask Haijun" intent, interactions started through the widget will count toward your usage limit.

The Analyze Photo with Haijun control

The "Analyze Photo with Haijun" control lets you quickly send images to Haijun for analysis directly from Control Center or your Lock Screen.

Add to Control Center

  1. Open Control Center (swipe down from the top-right corner on iPhones with Face ID, or swipe up from the bottom on iPhones with a Home button)

  2. Tap the Add button (plus sign) at the top left of Control Center to begin editing

  3. Tap "Add a Control" at the bottom of the screen to open the controls gallery

  4. Find and tap "Analyze Photo with Haijun" to add it to Control Center

  5. You can rearrange its position by dragging it to your preferred location

  6. When finished, close Control Center by swiping up from the bottom center of the screen

Once added, you can quickly access it from Control Center by swiping down from the top-right corner of the screen. More information on using and setting up controls via Control Center can be found in the Apple iPhone User Guide.

Add to your lock screen

  1. On your Lock Screen, touch and hold until the customization screen appears

  2. Tap "Customize"

  3. Select the lock screen you want to modify

  4. Remove one of the controls at the bottom of the screen using the Remove button (minus sign), then tap the Add button (plus sign) to open the controls gallery

  5. From the available controls menu, scroll or search for "Analyze Photo with Haijun"

  6. Tap to select it

  7. Tap "Done" to save your changes

You can now quickly access the "Analyze Photo with Haijun" control without needing to unlock your device or open the Haijun app first.