Search results for

eskimo

34,935 results found

Post

Replies

Boosts

Views

Activity

Reply to How can I get lac,cellID and all of these device information?
How can I get all this device information using private API?I can confirm that there are no public APIs for getting this sort of information. And DevForums is not an appropriate place to discuss private APIs.What sort of environment are you deploying to? Some of this information is available to folks in a managed environment via MDM.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Programming Languages SubTopic: General Tags:
Jul ’15
Reply to Get the system language
The system language is of a tricky concept. In most cases what you what is the language your app is running in, and that's available via the main bundle's preferredLocalizations property. Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Jul ’15
Reply to multiple account fingerprint
Example : I would like to use an ipad so that multiple client can comme to my shop and log just by touching the ipad.That's not possible. If it's a feature you'd like to see added to the system, I encourage you to file a bug describing your requirements. Once you do, please post your bug number, just for the record.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Programming Languages SubTopic: General Tags:
Jul ’15
Reply to how to get console logs for the last 24 hours
There is no way to do this. iOS maintains a small in-memory buffer of log entries; it does not persist them to disk.You can keep a record of all log entries using the Devices window in Xcode, but this only works if you keep the device attached via USB. That's helpful in some situations, but doesn't cover all cases.If the relevant log entries are being created by your app, I recommend that you create your own app-specific logic to persist them to disk.Finally, feel free to file enhancements requests for any features you'd like in this space. If you do, please post your bug number, just for the record.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’15
Reply to Get the system language
If you app is properly localised, the system will automatically do the right thing, that is, use the user's configured language settings to find the first localisation that's supported by your app.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Jul ’15
Reply to How do I let my Mac app access the Terminal through App Sandboxing?
I found it unclear as to what you're asking for here. Does your app currently work un-sandboxed? If so, what is it doing that hits a sandbox violation?OTOH, if you're just getting started with a new app, can you walk us through a concrete example of how you expect your app and Terminal to work together.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Privacy & Security SubTopic: General Tags:
Jul ’15
Reply to How to write to an FTP?
I've moved your post over to Core OS > Networking because the big issue you face here isn't the language but the frameworks.Firstly, don't use FTP. FTP is very ugly protocol with many serious issues, but the real kicker is its total lack of security. This makes it unsuitable for use on the modern Internet IMO, especially for uploads where you have to worry about the fact that it transmits user credentials (user name and password) in the clear!I generally recommend that folks use HTTP (better yet, HTTPS) for file uploads.If you insist on sticking with FTP, the framework support is rather limited. Specifically, CFNetwork supports a CFFTPStream 'class' that allows you to download, upload, list a directory (modulo FTP's foibles), and create a directory. The best place to start with CFFTPStream the SimpleFTPSample sample code.If you need features beyond what's provided by CFFTPStream, you will have to either write or acquire your own FTP library.Be aware that we've formally deprecated CFFTPStream in the latest
Jul ’15
Reply to App Transport Security and local networking
(apparently you can use an IP as an ATS exception domain ...).It seems that IP addresses aren't working as expected. Specifically, I set up my property list as shown:<key>NSAppTransportSecurity</key> <dict> <key>NSExceptionDomains</key> <dict> <key>127.0.0.1</key> <dict> <key>NSExceptionAllowsInsecureHTTPLoads</key> <true/> </dict> <key>localhost</key> <dict> <key>NSExceptionAllowsInsecureHTTPLoads</key> <true/> </dict> </dict> </dict>then issued requests to http://127.0.0.1:12345/ and http://localhost:12345/. The latter works but the former gets blocked by ATS. I've filed a bug about this.So, using localhost seems to be fine for folks doing loopback stuff but folks trying to connect to nearby IP addresses (like 192.168.0.0/16 will need to stick with NSAllowsArbitraryLoads for the moment. Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical
Jul ’15
Reply to Handling with NSURLProtocol authentication challenges
There are NSURLProtocolClient callbacks for related to challenges, namely -URLProtocol:didReceiveAuthenticationChallenge: and -URLProtocol:didCancelAuthenticationChallenge:. The read me in the CustomHTTPProtocol sample code describes the sequence that you should call them in. Admittedly, I've never tried this with an NSURLSession client; NSURLProtocol support is suffering from serious bit rot these days, so I wouldn't be totally surprised to see this not work in specific circumstances.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Jul ’15
Reply to App Transport Security and local networking
NSAllowsArbitraryLoads is a 'fix everything' option; it basically disables ATS entirely. If it's not working for you, it's likely that you've not configured it correctly. Be aware that the App Transport Security Technote has a bug in how it describes NSAllowsArbitraryLoads. Table 1-1 implies that NSAllowsArbitraryLoads should be nested within NSExceptionDomains. This is incorrect. NSAllowsArbitraryLoads is a top-level key within NSAppTransportSecurity. So you're NSAppTransportSecurity dictionary should like this: <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict>I tested this myself just yesterday (Xcode 7.0b3, iOS 9.0b3) and it works as I've described.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Jul ’15
Reply to How do I let my Mac app access the Terminal through App Sandboxing?
I'm still kinda confused by the big picture here but, hey, I can at least answer this:now it can't save a connection. How would I give Sandboxing access to the Documents folder?There's no way to do this directly. Your sandbox setup can request access to some special folders (like Music) but the Documents directory is not one one of them. The only way to get access to directories like this is to prompt the user for it. You can then use a security-scoped bookmark to remember that access.So, for example, the first time the user tries to save a connection you might put up the save panel asking them to choose a save location and, from then on, you can continue to save in that location.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Privacy & Security SubTopic: General Tags:
Jul ’15
Reply to Applescript Sandboxing?
There no way to script Terminal from within the sandbox because that would let you easily bypass all of security that the sandbox provides.You should be able to run your various scripts directly within your app. Whether that works will depend on what the scripts do. I'm not familiar with Vagrant but I suspect that it's going to want to do all sorts of things that are not compatible with the sandbox in order to bring up the VM. If that's the case, there's unlikely to be any good way to sandbox your app.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Code Signing SubTopic: General Tags:
Jul ’15