当前位置:网站首页>Key contents that wwdc22 developers need to pay attention to

Key contents that wwdc22 developers need to pay attention to

2022-06-11 19:00:00 InfoQ

iOS 16  New features of the system ,WWDC22  developer , Key contents needing attention 、 Precautions, etc , Quickly understand the latest content and the latest situation that needs to be adapted .

One 、iOS 16

1.1 iOS 16  Compatible devices

null
  • iPhone 13
  • iPhone 13 mini
  • iPhone 13 Pro
  • iPhone 13 Pro Max
  • iPhone 12
  • iPhone 12 mini
  • iPhone 12 Pro
  • iPhone 12 Pro Max
  • iPhone 11
  • iPhone 11 Pro
  • iPhone 11 Pro Max
  • iPhone XS
  • iPhone XS Max
  • iPhone XR
  • iPhone X
  • iPhone 8
  • iPhone 8 Plus
  • iPhone SE ( Second generation and subsequent models )

1.2 iPadOS 16  Compatible devices

null
  • iPad Pro ( All models )
  • iPad Air ( Third generation and subsequent models )
  • iPad ( Fifth generation and subsequent models )
  • iPad mini ( Fifth generation and subsequent models )

1.3  System updates

From the user's perspective :

  • iOS 16  preview  - Apple ( The Chinese mainland )
  • iPadOS 16  preview  - Apple ( The Chinese mainland )

From the developer role :

  • iOS 16 - Apple Developer
  • iPadOS 16 - Apple Developer

System detailed update log :

  • iOS & iPadOS 16 Beta Release Notes | Apple Developer Documentation

1.4  Upgrade the new system

Detailed tutorial :

  • Apple beta Software Installation Guide - Support - Apple Developer

Two 、 Precautions after upgrade

Considerations related to our game or development

2.1  Developer model

stay  iOS16  before , Add device to certificate Developer app, The default is to allow free opening .

And in the  iOS 16, Added “
Developer model
”, Think of names , Like Android , Open developer mode , To debug some capabilities of the system .

null
open “
Developer model
”, Set up  ->  Privacy and security  ->  Developer model , The default is off .

null
Click to open , Can pop up the window , After confirmation ,
The device needs to be restarted before it can take effect !


also , After the device restarts , The system will also pop up 2 Second confirmation , Open or not . And prompt the opening meeting “
your device security will be reduced.
”( Reduce the security of the system ).

Enterprise Certificate

Current test , Enterprise certificate signature  app, Not subject to “
Developer model
” influence , You only need a separate trust certificate to open .

null

TestFlight

at present “
Developer model
”  influence   TestFlight  The installed contains , Don't open  “ Developer model ”, Unable to open :

null
Currently the apple documentation shows a known problem , It can be modified in the next version , Nor is it certain that the future will depend on “ Developer model ”.( Theoretically independent , May be  bug)

null
iOS & iPadOS 16 Beta Release Notes | Apple Developer Documentation

2.2  ATT  Popup (bug)

App Tracking Transparency

Known Issues
The IDFA isn’t provided to apps even if the App Tracking Transparency status is Authorized. (93978371)

Even if tracing is allowed , You can't get  IDFA.

2.3 Apple ID(bug)

Apple ID Authentication

Known Issues
In certain cases, such as after unlocking a device from Lost Mode, an Apple ID authentication might be blocked and Apple ID services rendered nonfunctional. The user is redirected to Apple ID Settings to perform an authentication, but no authentication request is ever visible to the user. (93980441)
Workaround
: Rebooting the device allows the authentication to proceed.

May not be able to use  Apple ID  authentication , Temporary solution , Restart the device .

2.4 UIKit

Attempting to set an orientation on 
UIDevice
 via 
setValue:forKey:
 isn’t supported and no longer works. (93367651)

Rotate screen :

No support for passing  setValue:forKey:  stay UIDevice Set up the direction , No longer valid . Developers need to check whether this method is used , It is possible that subsequent versions will not work .

Clippings :

iOS 14  Start ,app  While reading the clipboard , stay  app  A line of prompts will be displayed at the top of the :

null
stay  iOS 16  Start , When  app  To read the clipboard ; Users will be explicitly asked if they want to allow it .

null
notes :
 
There are currently no permanently granted or permanently denied configurations
, It is system level control , There is no need for developers to declare . therefore ,
Every time  app  While trying to read your clipboard , This pop-up window will pop up once !

3、 ... and 、 Update reference

3.1 Xcode  change

  • Installation packages are reduced 30%, from  10GB  drop to  7 GB, Because other platforms can be downloaded and installed when they are opened .
    null
  • Faster compilation , You can view the compilation time of each class .
    null
  • Cross platform design , A set of  app  Icon auto fit  iOS,iPadOS,macOS,  tvOS  etc. .
    iOS  Just one  1024 px  Just pictures .
    null

3.2  Update function reference

  • Xcode 14 Overview - Apple Developer
  • What’s new for Apple developers - Apple Developer
  • What’s New - App Store - Apple Developer
  • Passkeys Overview - Apple Developer

Four 、 summary

The above is our upgrade  iOS 16  after , Learn about the key concerns of the content update , If you find more , Welcome to share in the comment area ~

Welcome to follow us , Learn more about  iOS  and  Apple  The dynamics of the ~
原网站

版权声明
本文为[InfoQ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206111827194220.html