Home  >  Article  >  Backend Development  >  UWP new features--Creator Update

UWP new features--Creator Update

零下一度
零下一度Original
2017-06-23 16:09:501530browse

Build version 15063+

1, Ability to add animations to other properties of CompositionObjects (shadow, cropping, property collections)

2. When the device is plugged in, apply to the system through the Extended Excution Session api to keep the app running in the background. (Supported since 14393)

You can use this new feature to apply for the app to run in the background for a long time so that offline or p2p uploads are not interrupted.

ExtendedExecutionSession Class api documentation:

3, Tile and Toast

1) app can determine whether pinned On the system taskbar; request the system to pin it to the taskbar. (api under development)

Using this api can increase the frequency of app use by users on the computer.

 2) The app can check whether its main tile is pinned to the start menu; it requests the system to pin it to the system's start menu.

In the past, apps could only pin secondary tiles to the start menu.

Primary tile documentation:

3) Trackable Tile notification: When the user clicks the tile, the app can know the content displayed on the current tile (14393 )

Documentation:

4) Context menu in Toast notification (14393)

Runs the developer to customize the context menu on Toast notification Operation:

Documentation:

5) Toast header grouping:

Allows a header to be provided for toast notifications, which combines multiple toasts

Documentation:

6) Add a custom timestamp (timestamp) to the Toast notification:

7) Toast quick reply and other scene interactions (10240):

8) Multiple interactions of Toast notifications (under development):

Allow interactive toast notifications with multiple interaction steps. For example, the initial toast has a drop-down menu, a next button, and clicking next triggers a background task while leaving the toast in a pending state until your app updates the toast next.

9) Notification Listener:

Allows other apps to get your notifications and can be used to create wearable devices. Smartwatches can use notification listeners to send notifications from your phone to wearable devices. Home automation apps can perform actions when certain notifications are received, such as when you receive a notification from your best friend.

10) Display Progress Bar progress control (such as download progress) on toast notification:

 

11)Tile Notification background image cropping:

4. App extension: uwp can use plug-ins (also store apps) provided by itself or third-party developers, and can manage them Installation and uninstallation of plug-ins. (14393)

Build2016 Video:

By watching the video, you can understand that this plug-in mechanism is more functional than App Service, but it has more restrictions and still cannot pass a custom interface in the code. to call. After studying the code project () provided in the video, the main app can realize image cropping, grayscale adjustment and color inversion by calling a third-party plug-in, but the mechanism is that the third-party plug-in provides an html5 local file and puts it in Go to the public folder (the public folder shared by the main app and the plug-in), and then the main app loads this html5 file in the webView control. After processing the image in the file through JavaScript, it is passed to the main app. The main app first base64 transcodes the image, converts it into a string, and passes it to the JavaScript in webView. After processing, it also converts it to a string through base64 and passes it to the main app. The process is a bit cumbersome...

5. Controls:

1) ColorPicker control (under development)

2) Navigation View control (under development) )

 3) Pull to Refresh Control (under development)

 4) New "ratings" control Ratings Control (under development)

 5) TextBlock added and deleted Line:

6) Swipe control (under development)

7) Tree View control (under development)

6. CompactOverlay mode (in picture (Picture): Make the app at the front of all windows

For video apps, it is similar to putting the app on top, but the size of the application window is limited. In my impression, the maximum can only be 500x500pixel.

Api documentation:

7. Use show/hide to customize page transitions animation

Developers can customize how items are displayed during page transitions animations and hide

8. Developers control app updates (14393)

Developers can control optional/mandatory updates of apps. Developers can enable/disable features until updates are installed.

Api documentation:

9. Easier to install .appx or .appxbundle file installation package (14393)

You can use this API to distribute application packages through non-Microsoft store channels.

Documentation:

10. Use lights, renderings, blurs, noise assets, blending modes, etc. to create more realistic user interfaces and contextual materials

11. Distribute app packages among multiple devices through the network, suitable for scenarios where multiple people assist in development:


#12. Uwp’s background task can run in the same process as the main process (one-process background task model) (14393)


13. SVG icon: Use a static SVG resource as an icon/image


Since SVG is a vector graphic, it will not appear jagged on a high-resolution screen. Large size png icons can be replaced to reduce app package size. Dynamic SVG will later support

14. Streaming (step-by-step) installation of App packages:

UWP Streaming Install allows you to tell Windows Store which part to download first. Once the main part is downloaded, users can launch and run your app while the rest of the package continues to load in the background.

15. ComparePackage helps developers distinguish between new and old installation packages:

When a user obtains an update for a UWP application, the deployment stack will perform a differential download based on the changed blocks in the application, thus Minimize user bandwidth and update time. In the Windows 10 Creators Update, a new tool (ComparePackage) was introduced that allows developers to understand the incremental impact of two packages on end users. ComparePackage will display file additions, changes, and deletions to allow developers to further optimize as needed.


The above is the detailed content of UWP new features--Creator Update. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn