Comments (2)
Yep, exactly the same issue
from airfloat.
The following code may do the job (at least for me, iPad1/iOS 5.1.1).
"AirFloat/AirFloatAppDelegate.m"
//#if TARGET_IPHONE_SIMULATOR
// NSString* path = [[NSString stringWithFormat:@"/Users/%@/Library/Preferences/", NSUserName()] stringByAppendingPathComponent:filename];
//#else
// NSString* path = [@"/var/mobile/Library/Preferences/" stringByAppendingPathComponent:filename];
//#endif
NSArray *mypaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [mypaths objectAtIndex:0];
NSString *newpath = [documentsDirectory stringByAppendingPathComponent:filename];
return newpath;
from airfloat.
Related Issues (20)
- Can't Install 4.2.1 HOT 2
- Crashing on 3GS iOS 6.1.6 while playing audio HOT 1
- tfw AirFloat is fucking awesome and works on iPhone 6 / iOS 8 HOT 10
- Increase Audio Buffer Length HOT 3
- Run without Apple Dev cert? HOT 14
- Won't Play Music After disconnect wifi HOT 1
- Crashes when getting audio from Apple Tv HOT 12
- Airplay to same iPhone? HOT 1
- Cannot build on latest Xcode HOT 6
- Cannot disconnect, crashes. HOT 1
- AirPlay to the same device
- Airfloat Crashing on 9.3.2
- Xcode 8 and iOS 10 HOT 3
- .H must be .h
- Cant this be used to screen record? HOT 1
- iPhone 2G @ 3.1.3 HOT 2
- Support for iOS 14.3 on iPhone SE HOT 1
- iphone 4 5.1.1
- How to install on iOS 5.1.1?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airfloat.