I am looking for a project to make a smart plug using arduini, wifi and iphone
What do you mean by "smart plug".
For WiFi an ESP8266 or ESP32 would probably be a better choice. Although they are not Arduino boards they can be programmed using the Arduino IDE. The ESP8266 Forum has all the details
...R
Hi,
There is a smart plug project here (perhaps you already saw this one):
I get it that you want to communicate with the smartplug using a mobile phone. Wi-Fi, you'll find on every mobile, but it seams like overkill for the application. You might try Bluetooth Low Energy. There is a TapNLink BLE module for Android that offers auto-generated apps for Android and iOS mobiles.
The way it is designed, you can create your smart plug first. Then when you're set up, add the Bluetooth module and configure it to interface with your smart plug. That configuration results in apps that are automatically generated for iPhone or Android.
Here is a tutorial that shows you how TapNLink integrates into an Arduino project:
Wouldn't it be cheaper to just buy one?