Tag Info

New answers tagged

0

You can use following code to download your file from server, save it to local directory and later on open it in web browser, I also posted link to share it on whatsapp. //code to download pdf from web and convert it into data NSString *urlString = <Server URL of PDF>; NSURL *url = [NSURL URLWithString:urlString]; //download file using ...


0

Hi You can share your file on whatsapp using UIDocumentationView Controller, do the following to achieve the same, In your viewcontroller.h file, add delegate for UIDocumentInteractionControllerDelegate declare UIDocumentInteractionController object like this UIDocumentInteractionController *controller; In your viewcontroller.m file, ...


1

You could consider SMS verification, which is probably a bit easier to use compared to an email solution. Basically you'd enter your phone number in the app and you'd receive an SMS with an activation code on said number. In iOS you even see the SMS appear in a "toast", so you don't even need to switch apps if the code is easy enough to enter. Of course ...


13

Objective C, like C, has no namespaces. This means that if someone has already defined a function foo or a class Bar, it must be globally unique and you can't define it. This can result in a lot of headaches when you have your code and then add another library and suddenly things break in strange places. There is a guideline presented by Apple for this in ...


0

you need to implement a queue, not collision detection, when packets collide they are resend after the verifications, you have limited resources, if your detecting collision and resending data all the time, you can have a lot of problems with your hosting. A time oriented queue, using time as metric you can control how much requests per minute you are ...


0

You are essentially trying to do collision detection the same way ethernet and other network protocols perform collision detection for network packets in a distributed setting. The problem is that you don't have the benefit of the protocol being aware of such scenarios if you're talking to a server that you don't control. The only real solution in that case ...


4

If your app is going to have a very small user base (say a corporate app, with less than a few hundred users), then you can make each client rate-limit itself to check the server less than once every N/100 seconds, where N = number of clients. Add in a little extra delay as a margin of safety, and perhaps randomize that margin a bit to lower the likelihood ...


10

Essentially you would need to proxy that web service with one of your own that does rate limiting. The devices wouldn't know anything about each other, and you can cache/re-implement the service if you need to scale further.


1

Not from an effort perspective. If you're implementing anything via a sync model, you need to build everything that entails. You can optionally choose to allow - for some feeds - lazy loading on refresh if this is desirable from a performance standpoint (this is a common practice for small and obscure feeds that less than 50% of the userbase will ever ...


0

There is a technical reason that Xcode will not allow development of iOS apps on other systems. iOS is similar in many ways to OS X. Many of the frameworks are identical or very close. The iOS Simulator makes use of that to provide a very fast testing environment. When Xcode compiles an app to run in the simulator, it creates x86 binaries which link against ...


0

There is no technical reason at all that you wouldn't be able to develop ios applications on linux. In fact it already happens on windows in Delphi XE. There you can develop your ios apps totally in windows. The only thing in the end needed is that your apps need to be signed. This can only be done on a mac.


2

I think it should said you can develop for iOS on other platforms, you just can't build final applications on them. It's been explained in the accepted answer why you can't build outside of OS X, but there are many development tools that allow you to write iOS apps on other platforms. Some of the development tools that I've used that allow this : Qt ...



Top 50 recent answers are included