iPhone/iPad wallpaper image monotouch - ios

is there a way to setup an image as a device wallpaper? Originally I want to download an image, save it somewhere in a picture roll and set it up as a wallpaper programmatically.
google doesn't give me any answer on how could it be done.

Unfortunately this API is not exposed to developers. There is also no URL scheme exposed for developers to launch the Photos app.
You're only option is to display a prompt that tells the user to manually go to the Photos application to set their wallpaper, and indicate how they would set the wallpaper there.

Related

Using ARKIT Image recognise app publish issue on app store

I have uploaded My App to Appstore but they rejected with this reason (AR Camera View Image Detection).
Application Functionality
- detect image and play video
- image are store in AR Resource asset
From Apple
- we were still unable to locate a method of obtaining the AR markers in your app.
so can you help me for that and what is the AR Marker?.
Apple is very strict with regard to apps that use marker recognition, because Apple wants to make sure the end user has an optimal experience. If AR experience requires a marker image, it is important to inform the user how to and from where to obtain the marker image.
There are two main things to to do:
It's important to include the marker image when submitting your app
to the store.
Within your app's UI you have to inform the user what
marker image to use and how to obtain the marker.
Please note: From my experience Apple will also reject apps that force the user to purchase a physical product in order to unlock content. Any paywall/purchase requirement would have to be through an in-app purchase
There is two type marker and markless . markless mean some animation image will show the camera . marker means if you target something means you will show the marker image inside the target image .

How to access iphone's lockscreen and homescreen image in xCode?

I want to set the background of my app the same image as it is in the user's iphone lockscreen image, and also I would like to know how to access to homescreen image as well.
Thank you!
Short answer: you can't. Unless there's a public API, things outside your app are blocked.
I don't know of an API to access either of those things.

Not able to come back to my app from Instagram after sharing photo using iPhone hooks

I want to share/post photo on Instagram from my app and I could do it using iPhone hooks which opens Instagram app.
But I couldn't find way to come back to my app after sharing photo.
Let me know if it is supported by Instagram. If not then please suggest alternative way for same.
This isn't supported with the instagram app, but in IOS 9 they introduced a button on the left of the status bar which says "back to.." to go back to whatever app opened this one. A rather nice unpublicised addition if you ask me

Make user set self-taken image as background in iOS app

I'm trying to develop an app, where I want it to be an opportunity for the user, to set the background image, to an self-taken image from the camera roll.
I've been googling a lot about this, but can't really find anything helpful.

ALAssetsLibrary ask user for permission when saving to an album? Why?

I have a game where users can take a screen shot and it will save it to a custom album named after the game. When I try and do this, iOS asks the user if the App can have access to their location information, if they say no, then the screen shot is not saved in the custom album, but rather the default album.
Why is it asking permission to use location information? I'm just taking a screen shot. It has nothing to do with the camera. I'm just copying the opengl surface and making a UIImage out of it.
This is how I'm saving the UIImage:
- (void)writeImageToSavedPhotosAlbum:(CGImageRef)imageRef orientation:(ALAssetOrientation)orientation completionBlock:(ALAssetsLibraryWriteImageCompletionBlock)completionBlock;
Is location information being put into the screen shot? If so, can I disable that so this warning doesn't come up? My game has no need for location information and I'd hate for users to think I'm tracking them.
This seems like a crazy warning since it's completely factually wrong.
As shown in the following link,
http://developer.apple.com/library/ios/#Documentation/AssetsLibrary/Reference/ALAssetsLibrary_Class/Reference/Reference.html
This method will fail with error
ALAssetsLibraryAccessGloballyDeniedError if the user has not enabled
Location Services (in Settings > General).
However, we have found that there is not location permission request in iOS 6. Maybe iOS 6 has other privacy control on Photos. So you don't need to asking location permission. Our solution is check the [[UIDevice currentDevice]systemVersion] and only save to custom album while iOS >= 6.

Resources