How to change brightness of iphone from application - iphone

Hi All I wont to ask one more question !!!
I search through internet and cant find answer on my question maybe somebody here can help me to find answer for my question. In my iPhone application i want settings bar and I want to insert in my settings "Brightness" when user change "Brightness" setting the iPhone screen brightness must be changed !!! Who can tell me how can I do this !!!

This is not possible using the current SDK.

I've seen one or two apps that simulate changing the brightness by overlaying a view and modifying the opacity to make it darker.
Obviously there's no real way to make it brighter.

Related

Apple App Store not showing correct icon in iOS 7

I've updated one of my apps to support both iOS6 and iOS7. After the update was approved, the icon for the app in search results is incorrect on iOS7.
As you can see, the icon is correct on the app page, but not correct in the search results page (you can tell by the rounded corners). It is showing the iOS6 icon in the search results.
I setup the icons for the projects with the new method that uses the Images.xcassets folder. In iTunesConnect, I uploaded the new icon, and the iTunesArtwork and iTunesArtwork#2x files are both the correct versions.
I'm fairly convinced this is an issue on Apple's end. Here is a thread on another website about the same issue:
iOS7 App store search icons. Btw, if you check various apps in the App Store, you can see that a lot of them have this common problem, the icon displayed in search results is the incorrect/iOS6 version.
Anybody know what the deal is? This is so annoying.
I had the same problem with one of my apps on iOS7. It seems it is an issue on Apple's side.
I had everything setup correctly in Xcode, but the icon displayed in search results was wrong.
In the last update I finally solved the problem. It seems Apple always takes "Icon#2x.png" for search results on the App Store. It doesn't matter what you set in Images.xcassets or Info.plist. Apple will probably fix the problem soon, for the moment you can just replace the "Icon#2x.png" file.
If you were looking for an answer to this problem, this isn't the answer you were looking for. I feel that it is too late in the game for Apple to do anything about this issue, since at this point nobody cares about iOS6. Therefore, the best course of action is to just make all icons for iOS7, meaning if you have a border in your icon, make the roundness of the border match iOS7 for all sizes. This will result in the icon looking slightly weird on an iOS6 device, but at this point that is an extremely minor issue.

Invoking application programmatically by text gesture on lock screen - iPhone/iPad

How can i place my application icon on the lock screen of the iphone programmatically(something like the default camera button next to slide lock). Is it possible ? If so can any one guide me on this ??
EDITED
Hi all.. thanks for replies.. after seeing your replies i understand that this is not possible and its possible in jailbroken devices.. or is it possible to invoke my application through some gesture on lock screen ???
I dont think it is possible. I understand you want to implement something like android interface, but apple has its UI standards and has restricted access to that.
For Jail broken Device:
I'm not sure whether it work or not.
Please check these links:
You Tube 1
You Tube 2
Note : Possibly it is for Jailbroken devices. Also I didn't checked these video's because it's restricted in our company :(
This is not possible as Apple does not allow that.

Xcode App Simulates and Launches Black Screen

When I launch my iOS app it seems that I only get a black screen on both device and simulator. I'm running Xcode 4.4.1 and the iOS sim is set up for 5.1. Is there any information you can give to help me out here? I'm pretty sure it's the viewController, but I'm not sure.
No background image
No change in colors
Basic App (Text boxes/Ad Bar/Nav Bar/Table Cells)
- All objects are available in Xcode (haven't messed with the coding yet)
screen cap img link: http://imgur.com/T4QUI
Code to come!
I've been working on this app all morning and I think I figured out my problem. So it turns out the problem was the "Ad BannerView" that I had put on the main View. Deleted it and it simulates just fine.
Not sure what caused it to do that, and if anyone knows, I'd very much appreciate a little bit more learning.
If you guys have anymore advice for me on here or in Xcode I'd love to hear it.
Thanks a ton for the help guys!
i Know i am late but i am posting it, If it could help someone else.
You may probably removed your initial viewController, You can set it by followed
Go to main storyboard
select viewController you want to show up first
in attributing inspector you will see "Is Initial ViewController" with a checkbox
mark is checked(tick sign) and give it a run.
You have to provide image for that the size of image for iPhone should be 320,480 and 640 , 960 with name Default.png , Defauld#2x.png , and image should on root of aproject.
or you can select your image form XCode.

Transparent iphone application

I'm trying to build an application that is launched has a transparent background, in practice, showing only the objects in view (buttons, labels etc etc) but not the background so you can see the background the user's home.
In the example file you can see the purple square image at the center of the screen, in theory should be a normal UIView with a picture in the center but does not see the background of UIWindow/UIView.
Is possible to realize such a thing? Can anyone help me?
thanks
No. It's not possible using the official SDK. I'm interested to know why you would want to do this?
It might be possible, try setting the window background color to clear, as well as the view controller's view background color.
I say it might be possible because I've seen my home screen while using some apps, for example, the Facebook app sometimes shows it during a transition (it might be a bug on either Facebook or the OS).
Anyway, I'm pretty sure that kind of app would be rejected from the App Store, so be advised.

iPhone access to Springboard icons

Is it possible for an app to access Springboard icons? I want to build a small animation where a ball is jumping over the icons over other apps.
Here's an example what I want to achieve.
Possible?
No, this isn't possible on iOS with the official SDK.
Move to Android? No, i dont think iOS can w/o jailbreak.
Begs question - ios5? Whats gonna happen there? Maybe we will get widget framework, hopefully at a minimum something for the lock screen.
If you just wanted the effect you could have the user take a screenshot of their homescreen and use that in the animation, but thats the only way you could do that in the official SDK.