-2

I am working on a network security based ios app. I need to find the device's MAC address which is used to register the device at router level. Once registration is complete then the router allows the network traffic coming from that MAC address to pass through.

Now, the problem is, in ios 7 or later we can't get the device mac address, as per the following post: stackoverflow:Mac address is unavailable from ios 7 and up.

Can anyone suggest me any alternative way to find MAC address in ios using C or Objective-C or using any other way.

EDIT: I know that this question has been asked and answered but I am looking for any alternative way by which we can do this.

Cœur
  • 37,241
  • 25
  • 195
  • 267
S.Vishwakarma
  • 127
  • 4
  • 14
  • As the pust suggest you can't find the MAC address any more. Apple has removed access to it to protect the privacy of there users. If there is a way to get it the code will not be AppStore save. – rckoenes Jun 19 '17 at 11:59
  • I am using native c programming also in my app, so is there any way in C through which I can do this? – S.Vishwakarma Jun 19 '17 at 12:08
  • The old code to get the MAC address was also using C, Apple made sure you can net get any device specific identifier since iOS 7. – rckoenes Jun 19 '17 at 12:10

1 Answers1

0

You can't anymore due to a change in Apple's privacy controls.

RoundSauce3
  • 170
  • 1
  • 16