問題タブ [xcode11.4]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
465 参照

swift - Snapshotting a `UIView` crashes the app with `NSInvalidArgumentException` "[_UIReplicantView _isSymbolImage]: unrecognized selector sent to instance"

Hi guys i have just updated XCode to version 11.4 from the app store and when i try to snapshot a UIView on iOS 13.4 like this:

or like that:

and set the resulting image to UIImageView like that:

i get:

I get this both in simulator and on a real device.

Do you guys have any idea why is this happening? I suspect it is a XCode 11.4 bug because this code worked nicely on the older versions

Here is a sample project if you would like to try it out on your machine