Method | Method detail |
---|---|
Integration Step | Easy and step wise integration process which can help user to integrate baked creator into existing mobile app. |
Launch creator using predefined video mode | Convenient to load baked creator module using predefined video mode. Specifically used in vertical formatted feed type. |
Launch baked Creator Option controller | Convenient to load baked creator module with option screen where user can choose creator module options between video or Image. Specifically used in card based feed type. |
Launch baked creator posting controller | This method uses if user has its own camera screen to record the content (video or image) then he can directly launch posting controller and pass their recorded content with some meta info can be used in vertical based or card-based feed type. |
Post created content on ‘Other Social Media Apps' | Baked Feed callback which can be used further inside user existing app. For example if user click like button on GluedIn UI screen then user will have callback at like method which further can be used for user activity tracking purpose. |
pod 'GluedInCoreSDK'
pod 'GluedInCreatorSDK'
self.navigationController?.pushViewController(
GluedInCreator.shared.getCreatorCameraScreenBasedOn(
creatorContentType: .video,
delegate: self) ?? UIViewController(),
animated: true)
]
]
// Baked Launch method to launch creator module from camera screen
// Option to open Image or Video recording on camera screen
// Controller can be open from any button or bottom bar or load screen or any user interaction option
@IBAction func callToLaunchedBackedCreatorMethod(_ sender: Any) {
self.navigationController?.pushViewController(
GluedInCreator.shared.getCreatorCameraScreenBasedOn(
creatorContentType: .video,
delegate: self) ?? UIViewController(),
animated: true)
}
self.navigationController?.pushViewController(
GluedInCreator.shared.getCreatorOptionsScreen(
delegate: self) ?? UIViewController(),
animated: true)
// Baked Launch method to launch creator module from option screen from where user can decide whetear he can go for Image or Video
// Controller can be open from any button or bottom bar or load screen or any user interaction option
@IBAction func callToLaunchedBackedCameraOptionMethod(_ sender: Any) {
self.navigationController?.pushViewController(
GluedInCreator.shared.getCreatorOptionsScreen(
delegate: self) ?? UIViewController(),
animated: true)
}
self.navigationController?.pushViewController(
GluedInCreator.shared.getContentPostScreen(
context: "context value",
delegate: self) ?? UIViewController(),
animated: true)
// Baked Launch method to launch creator module from option screen from where user can decide whetear he can go for Image or Video
// Controller can be open from any button or bottom bar or load screen or any user interction option
@IBAction func callToLaunchedBackedContentPostingMethod(_ sender: Any) {
self.navigationController?.pushViewController(
GluedInCreator.shared.getContentPostScreen(
context: "context value",
delegate: self) ?? UIViewController(),
animated: true)
}
//MARK: - Baked creator delegate method
func openCreator() {
print("open creator delegate method")
}
func dismissCreator() {
print("dismissCreator delegate method")
}
func startRecording() {
print("startRecording delegate method")
}
func stopRecording() {
print("stopRecording delegate method")
}
func addFilter() {
print("addFilter delegate method")
}
func removeFilter() {
print("removeFilter delegate method")
}
func selectSound() {
print("selectSound delegate method")
}
func uploadFromGallery() {
print("uploadFromGallery delegate method")
}
func postVideo() {
print("postVideo delegate method")
}
func saveToDraft() {
print("saveToDraft delegate method")
}
func onVideoCreated(success: Bool, assetPath: String, assetType: String) {
print("onVideoCreated delegate method")
print(assetPath)
print(assetType)
}
func didPosted(navigationController: UINavigationController?) {
print("didPosted delegate method")
}
func goToProfile(user: String?, navigationController: UINavigationController?) {
print("goToProfile delegate method")
print(user)
}
func didSelectCancelOption() {
print("Creator :- didSelectCancelOption")
}
CFBundleTypeRole
Editor
CFBundleURLName
Facebook SignIn
CFBundleURLSchemes
fb${FacebookAppID}
Note: Add your created Facebook app id in place of empty value