A simple iOS app that allows users to toggle access to the Instagram app.
- Xcode 15.0 or later
- iOS 16.0 or later
- Swift 5.0 or later
- Clone this repository
- Open
InstagramAccess.xcodeprojin Xcode - Select your development team in the project settings
- Build and run the project on your iOS device or simulator
- Simple toggle switch to enable/disable Instagram access
- Clean and intuitive user interface
- Persistent storage of access settings
InstagramAccessController.swift: Main view controller with the UIInstagramAccessService.swift: Service layer for managing Instagram accessAppDelegate.swift: Application delegateSceneDelegate.swift: Scene delegate for window management
This is an MVP (Minimum Viable Product) implementation. In a production environment, you would need to:
- Integrate with iOS Screen Time API for actual app restriction
- Add proper authentication
- Implement more sophisticated UI
- Add proper error handling
- Include app icon and launch screen
- Add proper documentation
This project is available under the MIT License.