Pytigon supports iOS through its Kivy mobile frontend integration (via pytigon_lib.schandroid).
The iOS client provides a mobile-optimized interface for Pytigon applications using the Kivy framework. It connects to a Pytigon backend server over HTTP/WebSocket.
# Install kivy-ios toolchain
pip install kivy-ios
# Create Xcode project
kivy-ios create PytigonApp
cd PytigonApp
# Build dependencies
toolchain build python3 kivy django requests
# Add your Pytigon mobile app code
# Configure server URL in app settings
# Build and run in simulator
toolchain xcode
Configure the Pytigon server URL and authentication in your app:
from pytigon_lib.schandroid import configure
configure(
server_url='https://your-pytigon-server.com',
app_name='YourApp',
use_websocket=True,
)