I am making a custom keyboard extension, and in this keyboard, i have another uitextfield as a search field, so when I type on the custom keyboard, I am not sending the text to the safari's textfield or some chat app's textfield, I am sending the text to the uitextfield search field in the custom keyboard, so I can do some search and then when the search results come back, i am sending the search result to the safari's textfield or some chat app's textfield. So there is a first responder issue here. When I set the search text field as first responder, and trying to set the first responder back to the safari's textfield. It's not working any more. The question is how to set the make safari's as first responder again? after it's first responder been taking by search field.
How to make custom keyboard extension become first responder again
719 Views Asked by yong ho At
1
There are 1 best solutions below
Related Questions in IOS
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
Related Questions in OBJECTIVE-C
- How do I customize NSOutlineView to have border color?
- UIWebView Screen Fitting Issue
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Image and Text locations in UIButton
- setting OpenGL version in objective-C
- Setup code for xibs in iOS. -awakFromNb:
- realm db, get parent link of object
- CFBundleDocumentType is not working in myproject-Info.plist file
- UIPopoverPresentationController not rendering properly
- Using Storyboard Reference
- Pass Data between two view controllers using 'Delegation' : Objective-C
- Unexpected CALayer Vertical Flipping on 3D Rotation 'Bounce'
- Setting View orientation to portrait is ignored
- UITextField append / between dates while enforcing character limit
Related Questions in IOS8
- UIPopoverPresentationController not rendering properly
- UICollectionView cell height/scrollable content behaving strange/incorrect
- My application has the camera access permission by default.How can i turned it off and ask for permission?
- iOS coordinates for iPad and iPhone game using spritekit
- App crashes when I deselect an item in a UICollectionView
- Swift - Issue trying to access to Singleton object
- how to hide the section title when clicked search bar using ios 8 UISearchController?
- poptorootviewcontroller and instruct rootviewcontroller to perform some action
- Animation issue on iOS 7 but not on iOS 8
- Javascript function not getting called from HTML file
- Table View Cell After Upgrading Project from XCODE 5.x to 6.x
- Third party app iOS Storage usage statistics
- UI Local Notification - Background Reschedule
- Reposition legal label ( MKAttributionLabel )
- How can I animate an SKShapeNode in swift?
Related Questions in IOS-APP-EXTENSION
- iOS widget not working on few iPhone5S
- Pods project with App Extension started failing to build
- Today extension: syncing data with container app
- How to access keyWindow in share extension in ios?
- Exception when fetching parse.com user data in iOS 8 Today Extension
- Change 1Password App extension navigation bar title color
- Is there way to get list of installed app on device, which is able to share and receive text data
- How to get the state of share extension in iOS?
- "Invalid info.plist value" when uploading iOS 9 app extension
- App Group in Today's Extension Swift 3.0
- App icon of Share extension is not updating in device even with updating app icon
- Disable all the app (share/action) extensions and configure required extensions ios
- iOS Build app extension base on existing app. How to avoid code duplication?
- How to differentiate the Home Screen widget tap and Force touch widget tab?
- textDocumentProxy insertText is not working in custom keyboard extension
Related Questions in CUSTOM-KEYBOARD
- Android handle 'search' button press on custom keyboard
- How to disable key preview in popup keyboard (not in main softkeyboard layout)?
- NSUserDefaults with suit name swift
- How can I force my app to use my custom keyboard?
- Custom Keyboard Crash
- Create a keyboard that has only Apple Emojis? iOS - Swift 3
- Swift keyboard extension SIGQUIT, Execution was interrupted, reason: EXC_BREAKPOINT
- How to embed WebView inside InputView For IOS custom keyboard app extension
- viewWillTransition is giving the wrong size
- how to realize iOS swift playgrounds virtual keyboard feature .
- Calculate button height of keyboard buttons
- While copying image using UIPasteboard from a custom keyboard shows a white background while sending
- How to add exponent(superscript) symbol on a custom keyboard?
- iOS 8 Keyboard Extension: Constraint Error When Call Bar Appears?
- How to add the settings Icon to the custom keyboard on Android under settings-> language and Input
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
iOS is the sole decider on when to display a keyboard, be it a system keyboard or a custom keyboard (they are the same now).
You can add UI elements to your custom keyboard, but you cannot decide when to display the keyboard.
Apple went a long way allowing 3rd party keyboards, and as a user, I wouldn't want a keyboard popping-up without me requesting it.