Abhishek P Deshpande
Abhishek P Deshpande

Reputation: 11

iOS : Unable to import CoreWLAN framework in iOS8

I am trying to Import CoreWLAN framework for wireless network development. I got reference pdf from mac developer site as https://developer.apple.com/library/mac/documentation/Networking/Reference/CoreWLANFrameworkRef/CoreWLANFrameworkRef.pdf

But I am unable to Import CoreWLAN frame in Project.

Statement @import CoreWLAN; gives Error -- Module CoreWLAN not found

Upvotes: 0

Views: 2425

Answers (2)

MOE
MOE

Reputation: 849

CoreWlan isn't available for iOS, it's a Cocoa Framework. If you need the same functionality on iOS, please have a look at the NEHotspotConfigurationManager.

Upvotes: 0

Kilian
Kilian

Reputation: 2282

Since this question is tagged with the iOS tag, you're presumably trying to import CoreWLAN for an iOS project, which isn't possible.

You can use the SystemConfiguration framework if all you're trying to do is access the name of the currently connected network. See the Apple Documentation for more.

Upvotes: 1

Related Questions