algolia / voice-overlay-ios

🗣 An overlay that gets your user’s voice permission and input as text in a customizable UI

Home Page:https://alg.li/voice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to remove "subtitleBulletLabel" from recording screen?

vijaykharage opened this issue · comments

Hi,
Tried removing subtitleBulletLabel from RecordingViewController but it is not getting off. Can you please tell me how to remove it?
Thanks

Hey @vijaykharage,

You should set those to empty:

  /// Subtitle shown at the top of the screen before the recording button is activated.
  public var subtitleInitial = "Say something like:"
  
  /// The bullet point shown for each item in the list of suggestions
  public var subtitleBullet = "\u{2022}"
  
  /// The list of query suggestions shown in a bullet list
  public var subtitleBulletList = ["\"iphone case\"", "\"Running shoes\""]

It's not working.
screen shot 2018-11-30 at 4 10 50 pm

Even though removing them completely from RecordingViewController they appear in recording screen out of nowhere.

In your viewController, if you do the following, it should work. I just tested it out.

    voiceOverlayController.settings.layout.inputScreen.subtitleInitial = ""
    voiceOverlayController.settings.layout.inputScreen.subtitleBullet = ""
    voiceOverlayController.settings.layout.inputScreen.subtitleBulletList = []

image