I've got a problem.When i integrated the MobilePlayer(Swift version) into my OC project using Cocoapods. I've also added the MobilePlayer into my Swift-bridge.h file.
Here come's the problem:
when i doing this
MobilePlayerViewController *player = [[MobilePlayerViewController alloc] initWithContentURL:url];
The Xcode warning me that MobilePlayerViewController.swift: fatal error: use of unimplemented initializer 'init(contentURL:)' for class 'MobilePlayer.MobilePlayerViewController' after i run it in simulator.
Had anyone know why? Thx
Aucun commentaire:
Enregistrer un commentaire