How can I display image it's include in iOS framework? - ios

I found some image include in iOS framework, How can I use this image in my program?

You could extract the images using https://github.com/0xced/UIKit-Artwork-Extractor.
Please note, however, that Apple might not like it if you use their images in your app.
For example, using the GameCenter icon on a custom view/control is prohibited.
If the image is just part of UIKit, it won't be such a big problem, I guess.
Hope this helps

No . That's not possible and legal
Because of we cannot use third party and default framework images it's based on the legal issue in AppStore. So better to use control and views. Don't alter default framework images.

Related

iOS select image from cloud storage

The user should be allowed to select an image from more than just their device.
Countless services provide this functionality, Slack is a great example. Is there a library that can assist in this as my searching has turned up blank.
I really don't mind if it's in Objective C or Swift.
In answer to your question, the library used to generate the action sheet included in the image you attached is a native iOS library / class called UIDocumentMenuViewController.

Is there any module which allows cropping an image dynamically in Appcelerator for iOS platform?

I am developing an ios mobile app.In that my requirement is user should able to allow crop the photo gallery images dynamically.is their any free module or any alternate code to achieve my requirement
Thanks in advance
You can use http://gitt.io to search for modules. You'll find:
https://github.com/caspahouzer/TiCropImageEditor
(forked from https://github.com/EtnaTraining/TiCropImageEditor with 64bit and some other patches)
The modules implement PEPhotoCropEditor
Also check https://gist.github.com/FokkeZB/5501222 and https://github.com/appcelerator-modules/ti.imagefactory
Related to the topic but maybe not suited for your case is https://github.com/jwagner/smartcrop-cli, which I use myself (but in another context)

Phonegap iOS: Download image to Photo Library

Is it possible to download a file (image) and save it in the Photo Library?
I am aware of this download method, but it only allows to download to a location that I specify.
On iOS I was unable to get the path to the Photo Library (and I know it doesn't just store it there, but also adds it to a DB)
Does phonegap provide this ability in some way?
Do I need to write a dedicated plugin for this?
Thanks,
Nadav
Ehh... I hate answering my own questions
I found this was impossible without a Phonegap plugin, and couldn't find one that does that,
so I wrote one.
Currently only iOS and Android are supported.
https://github.com/grnadav/SaveToPhotoAlbumPhonegapPlugin
Feel free to expand it's functionality and pull-request :)

Is the iOS "Exclamation" Badge/Button available for use within an App?

I suspect that the answer is 'no' - but perhaps I'm missing something in the api...
I'm aware of the constant UIButtonTypes for UIButton:
http://developer.apple.com/library/ios/#DOCUMENTATION/UIKit/Reference/UIButton_Class/UIButton/UIButton.html
But I've also seen Apple use the exclamation badge within their apps, for example, the Reminders app:
Does anyone know if that button/badge is available?
Or am I making my own?
As I commented, you won't be able to use this button directly.
I don't think you can point to any source to say this, but from my own experience, I never found this button.
But, what you can do, is create or find the button's image. The second option is the easiest one ;)
I found this, giving you all iOS' images (iOS 4.3, but still good) : All stock iOS 4.3 UI Images.
Or you may use directly these normal/selected retina images (comming from the above link) :
And the non-retina versions :
Quick note, you may want to use this button very carefully. As it is a system image, you must use it the way iOS uses it. If you try to use it in an unappropriate context, your app may get rejected by Apple.

iOS custom framework, libraries, and bundles

I have a general question regarding bundles, libraries and custom frameworks on the iOS. I've seen many topics about this on SO and searched far and wide on the net, but I still can't come to an answer without finding another site or post contradicting or confusing me some more. If someone could give me a solid answer to the below questions regarding what is allowed on the iOS or what would get rejected I would be really grateful.
I've seen posts and sites say that you cannot create bundles on the iOS. Does this also apply to bundles with only images in them?
Is it possible to create a library with .xib files in them? If not then how would one go about including one if custom frameworks are not allowed?
Does using a xCode dynamic library put my application for grounds of rejection (ex. libxml2.dylib)?
Apologies if this is too general or mentioned multiple times, but this whole library and what is allowed and what isn't allowed just doesn't seem to be very clear for me. What I am trying to do is to create some apps and perhaps include some controls that I frequently use in some sort of library or bundle, but I would like to know my limitations before moving further.
1.: No, you cannot create any framework even if it contains images only, as you can't write to the root partition of the iOS filesystem (the part where /System/Library/Frameworks resides).
Of course, if jailbreaking is an option, then all this stuff becomes invalid. You do what you want with a jailbroken phone, so you can create frameworks, add libraries to the filesystem etc.
2.: Yes, it is possible to create a library with XIB/NIB files with it, but then you'll need to share both the source or a static library built from the sources AND the XIB files and guide the other developers to do so in order iOS to correctly handle your library and be able to build the UI from the InterfaceBuilder files.
3.: No, because those libraries are already on the iPhone, you don't have to hack it to get them on the filesystem. libxml2, libsqlite3, etc. are allowed and can be used in any AppStore app.

Resources