Show available wifi in UITableView similar to iHome Connect - iphone

I'd like to show a list of available wifi in my next app, similar to iHome Connect. http://itunes.apple.com/us/app/ihome-connect-setup-app-for/id450241802?mt=8
I've done some googling and have found out that the only way to do this is to use a private API (illegal), but there are apps in the app store that are doing this?
Has anyone had the need to do this? If so, what private API did you use and was your app rejected?

It is possible using private API and your app will likely be rejected.
Stumbler helper library: http://code.google.com/p/iphone-wireless/

Related

Password protect a swift app with Touch ID

I am creating an app where a user can store other peoples information and I would like to allow users to protect the information stored in my app using a passcode or Touch ID (If their device supports it).
I have already got the Touch ID part working thanks to apple's documentation, but I am kind of stuck on how to implement the passcode lock. Will i have to create another view controller for that passcode-entry? How can I ensure that my app does not have access to users passcodes (in case the app gets hacked or run on a jailbroken device)? Does Apple provide a framework or library for this purpose?
Can someone point me to some source code or documentation I can use?
You can try this library, which looks very promising and its written in Swift from #yankodimitrov.
SwiftPasscodeLock
You could use a library like VENTouchLock
Or you could look through its implementation and see how it works in order to replicate it.

How to get iPhone mute setting programmatically ?

My app wants to know the current mute setting of iPhone. Is there a way to achieve this? I see some solutions in google, but they don't work on my iPhone5. Any example codes or open source solutions?
As far as i know you can't access the volume apis in your application. Those are private apis . If you are access theses api by any way then also it tends to reject your application by apple .
This is how you change the volume with public api:
[[MPMusicPlayerController applicationMusicPlayer] setVolume:currentVolume];
But to mute it I don't think there really is a public API.

How do you retrieve the call list and voicemail messages on the iPhone?

I'm developing an iPhone application that replicates the functionality of the built-in phone
application, but adds a few features on top. This is for ad hoc distribution only.
In particular, is there a way to programmatically retrieve the last calls received by the phone? Also, how can an application access the list of voicemail messages?
You can check out the private CoreTelephony APIs, esp CTCallCenter.h. You can dump the private headers with this tool: https://rubygems.org/gems/private-dumper
And check out other private headers here: https://github.com/kennytm/iphone-private-frameworks/
You might also find some more info here: http://iphonedevwiki.net/index.php/Main_Page
This app demonstrates how to access the call-log even without private APIs and jailbreaking: https://github.com/nst/spyphone
I'm not sure though, if it is possible to completely re-build the Phone.app with private APIs without jailbreaking.
Johannes

How would I add code that would update an online "counter" so I know how many times an iPhone app is being opened?

So I have searched for this but not finding anything about it and if I missed it sorry about that. What I am trying to do is see how to go about adding some code to my iphone app that will connect to a php script (if connection available) and update a counter so that I can let my clients know that their app is constantly being used? Also, would apple allow that? Or would my app be denied for doing such a thing? Any help would be great! Thanks in advance.
There's a bit of network plumbing to implement this. It's not hard, but a much easier route would be to integrate something like Flurry analytics into your app. They you can make one function call, and have it track and upload the information to Flurry's servers. You can view those stats and get an idea of how people are using your app.
Note: I don't work for Flurry, but I use (and like) their service.

I want to access call log of iphone can this is possible

I want to developed a application in iphone with objective-c that is retrieve all call details That we can show incoming, outgoing and Missed call. can this is possible that we can do this.
No, in a non-jailbroken device, with the public API, we can't do this.