Comments (6)
- Create a new bundle in your project,
yourBundle.bundle
for example. - Create a directory in yourBundle.bundle (e.g.
yourIconDirectory
). - Put the icon files in yourIconDirectory.
- Set the sticker path as following:
NSBundle *bundle = [NSBundle bundleWithPath:[[NSBundle mainBundle] pathForResource:@"yourBundle" ofType:@"bundle"]];
CLImageToolInfo *tool = [editor.toolInfo subToolInfoWithToolName:@"CLStickerTool" recursive:NO];
tool.optionalInfo[@"stickerPath"] = [[bundle bundlePath] stringByAppendingPathComponent:@"yourIconDirectory"];
from climageeditor.
i can use my own path now. but what is the requirement of my stickers? in png? I can't use my own stickers at all.
from climageeditor.
Images must be able to be opened with [UIImage imageWithContentsOfFile:]. What type of images cannot use?
from climageeditor.
I put this into my sticker folder. And it cannot be shown.
from climageeditor.
It can be used in my project. If you upgraded the bundle after the build, you will need to clean the product once.
from climageeditor.
it works now. thank you very much!
from climageeditor.
Related Issues (20)
- undo redo function HOT 6
- Enable DONE button only after some editing
- Changing CLImageEditorTheme properties don't affect style HOT 1
- Navigation bar dives into the status bar when pushed from UIImagePickerController HOT 1
- Apply sticker above image
- Memory Issue HOT 1
- Lexical or Preprocessor Issue on UIImage+Utility.h' HOT 1
- How remove all filter/sticker
- I hide the status bar when clicked on tools. But, the Title of tools is missing in iPhone X and above as it is overlapping with the notch. HOT 2
- How to small grid view on Image with desired coordinates ?
- Can i display the stickers in multiple rows instead of single row that is available right now with the Library? HOT 1
- How to customize the Stickers Tool or create my own custom Tool and place it into the list? HOT 3
- Is it possible to change background only for stickers and emoticons?
- When click on edit button , I want only text related Tools.
- Two Navigation bar overlaps while editing selected image HOT 3
- CLTextTool Crash when delete all text.. HOT 2
- Excluding tools
- Undo and redo Feature missing
- CRASH on deleting single character HOT 4
- add sticker from photo album HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from climageeditor.