Skip to content

[SR-3157] UIView.convert is not supported in iOS7 #45745

Open
@swift-ci

Description

@swift-ci
Previous ID SR-3157
Radar None
Original Reporter yasmin777 (JIRA User)
Type Bug

Attachment: Download

Environment

Version 8.1 (8B62)
app that must support iOS7

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, 3.0Regression, TypeChecker
Assignee None
Priority Medium

md5: f15a9e4cdcee545945debf7fef5e3028

Issue Description:

UIView.convertRect has been changed to UIView.convert, but this method is not supported in iOS7
This seams like a bug since it is a very basic method, and it does compile in objective C in the same project.
I attached a very ugly work around (method implementation in objective C and using a bridging header to access it from swift)

apple bug number is 29144238. I don't know what the radar URL is...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfregressionswift 3.0type checkerArea → compiler: Semantic analysis

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions