This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Is it possible to programmatically mute the iPhone?
Is it possible to programmatically mute the iPhone ringer in a way that Apple won't reject the app?
No.
If you are not concerned about Apple's approval, then you can do with with AVSystemController
Related
This question already has answers here:
Placeholder in UITextView
(63 answers)
Closed 8 years ago.
IOS 7 UITextView, is there any way to show placeholder in IOS 7 UITextView?
There is no native functionality, but You can make your own class,
See this ans
Placeholder in UITextView
This question already has answers here:
How to show a splash screen during launch of a Cocoa app?
(4 answers)
Closed 9 years ago.
One example is photoshop, when the application starts up, a really nice picture with a transparent background shows up. how can I achieve the same result while building my own application? Thanks a lot!
If you're wondering how to get a custom-shaed window, rather than simply how to display it at launch, the RoundTransparentWindow example code provided by Apple shows how you can achieve this.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Detect whether a Windows 8 Store App has a touch screen
For WinRT apps, is there a way to query if the device running the App supports touch or not? I ask because I have on screen controls for a game that aren't needed if you don't have touch.
Windows.Devices.Input.TouchCapabilities should do it.
var t = new Windows.Devices.Input.TouchCapabilities();
bool hasTouch = t.TouchPresent != 0;
There's a sample on the dev center as well.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Let users choose between Google Maps and Apple Maps in IOS 6?
In my app, i have used MKMapView which shows google maps in iOS 5.0 but it shows Apple map in iOS 6.0. I, want to show google map in both the OS, because Apple Map is not available in iOS 5.0. Is it possible? Any suggestion will be accepted.
Let users choose between Google Maps and Apple Maps in IOS 6?
That question pretty much answers it, however someone else on here has provided a Google maps overlay you can try!
https://github.com/mladjan/GoogleMapsOverlayiOS
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to develop or migrate apps for iPhone 5 screen resolution?
How to deal with iPhone 5 screen size?
I currently have my app on the App store but if i look it in iphone 5 its letter boxed and have black region on the top and bottom. I want to take advantage of the full screen without doing much of work. So can anyone explain what's the best way to do it??
Thanks,
Add a -568h launch image.
Set your main window frame to the UIScreen mainScreen bounds in your app delegate.
If everything else in your code sizes itself to the size of your views, there shouldn't be much else to do.
This is all covered in the docs and in lots of blog posts all over the web. Google is your friend.