This is a simple demo shows how to upload image from IOS app to Django server, with both the IOS end and Django server end implementations.
python manage.py migrate
cd myproject/
python manage.py runserver 0.0.0.0:8000
- Open the workspcae using this command:
open uploadTest.xcworkspace
- Change the ip address to your server's ip address in Line 28 and 33 in ViewController.m
- Run the app