1. FAQ BizBundle

1.1. Introduction

The FAQ BizBundle provides an iOS container that hosts "questions and feedback", and provides a troubleshooting and feedback channel for your app.

1.2. Integrate

Add the TuyaSmartHelpCenterBizBundle in the project's Podfile file and execute the pod update command

source "https://github.com/TuyaInc/TuyaPublicSpecs.git"
source 'https://cdn.cocoapods.org/'

target 'your_target_name' do
  # Add Faq BizBundle 
  pod 'TuyaSmartHelpCenterBizBundle'

1.3. Service Protocol

1.3.1. Service Provided By BizBundle

The FAQ BizBundle implements the TYHelpCenteProtocol protocol to provide services. View the TYHelpCenteProtocol.h file in the TYModuleServices as follows:

@protocol TYHelpCenteProtocol <NSObject>


 *  jump to HelpCenter page
- (void)gotoHelpCenter;


1.3.2. Service Required By BizBundle


1.4. User Guidance

1.4.1. Precautions

  1. Before using any method, be sure to confirm that the user is logged in.

  2. When the login user changes, be sure to re-judge the FAQ availability status and re-acquire the FAQ page

1.4.2. Go To FAQ Page


#import <TuyaSmartBizCore/TuyaSmartBizCore.h>
#import <TYModuleServices/TYHelpCenteProtocol.h>

id<TYHelpCenteProtocol> impl = [[TuyaSmartBizCore sharedInstance] serviceOfProtocol:@protocol(TYHelpCenteProtocol)];

[impl gotoHelpCenter];


let impl = TuyaSmartBizCore.sharedInstance().service(of: TYHelpCenteProtocol.self) as? TYHelpCenteProtocol


results matching ""

    No results matching ""