In view based mobile application(iOS/Android) rootview provides interface between window and otherview.
Questions tagged [rootview]
148 questions
0
votes
1 answer
Objective C: Tabbar Controller: How do I select the tab and pop the set of views to root?
In my notification did receive method, I want the app to go to the selected tab and display the root view controller of the tab.
I tried the following implementation but the selected tab did not display the root view controller. How can I make this…

Zhen
- 12,361
- 38
- 122
- 199
0
votes
3 answers
iPhone multiple view flow question
I have a root view controller which contains an outlet for my login view controller. the root view should control the flow to the next view, yet my login view has the button to continue. how would I set the button's touch up inside to the IBAction…

Tom Fobear
- 6,729
- 7
- 42
- 74
0
votes
1 answer
Get specific type of view from parent view
Do you guys know if there's a proper manner to get all specific view types from the parent view as the title says?
I would like to get all the EditText views from my activity, so I wonder if there's a better way than using this solution get all…

floMartin
- 15
- 5
0
votes
1 answer
Modify launch view when app is running in the background SwiftUI?
I understand that, in SwiftUI, the initial launch view is dependent on the Scene Delegate.
So, with something like this:
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
…

Evan
- 1,892
- 2
- 19
- 40
0
votes
2 answers
Changing the ViewController in NIB
I created a VIEW based application named ktemp1. and It generated .., ktempView1Controller.h and ktempView1Controller.m..,
Later I created one more view.., say "ktemp2ViewController.h" and "ktemp2ViewController.m".
I have a navigationController…

Kiran Kulkarni
- 1,434
- 2
- 18
- 40
0
votes
1 answer
How do I open a view controller from the app delegate?
I want to open the "Menu View Controller", when a local notification is opened from the Notification Center. My problem is that I do not know how I can open a view controller from the AppDelegate. All solutions I found did not work, because it were…

JPJerry5
- 107
- 10
0
votes
2 answers
Set root view controller iOS 13
I want to set root view controller after user login successfully. I implement below code and work well on below iOS 13 but when I run in iOS 13 simulator it's not work for me. Please guide how to set root view controller which work below and above…

Krunal Nagvadia
- 1,083
- 2
- 12
- 33
0
votes
1 answer
How to create a service with addView() using WindowManager in Android
I had gone through many solution available online but I didn't fine appropriate.
Basically i wanted to utilize following parameters using service
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON|
…

Snehal Gongle
- 337
- 3
- 16
0
votes
0 answers
Replacing specific fragment by using fragment transaction
In Android, I have added several fragments in Linear Layout by using Fragment Transaction. Is there any specific way by which a specific fragment in the Linear Layout can be replaced and not all of them?
We can remove any fragment by using the…

R. Viswanathan
- 1
- 3
0
votes
2 answers
Adding a NEXT button to an iPad UISplitViewControl
Simple question (yeah right!). I want to add a "NEXT" button on the detail pages of my UISplitViewController for my iPad project. If clicked, it would be another way of advancing to the next page in the list of pages. As a bonus, I want to…

RNA_Parts
- 83
- 2
- 9
0
votes
1 answer
How can I push a new list onto the root view side of a split view controller?
I am trying to push a new list into the root view side of the split view controller on an iPad app based on what the user selects in the root view table. For some reason I cannot figure out how to push a new array - or listview onto the left side. …

Rossi
- 609
- 6
- 14
0
votes
2 answers
Monotouch: UINavigationController, override initWithRootViewController
How is it possible to override the constructor for UINavigationController for passing in a rootViewController?
I would have a method like the following in Objective-C:
-(id)initWithRootViewController:(UIViewController*)rootViewController
{
…

Lorenzo B
- 33,216
- 24
- 116
- 190
0
votes
0 answers
How to Conditional Return inflater in Volley Request - Android
i have a problem in Develop Android in Android Studio. when i try to get data with Volley, i have two root to display in fragment android. and I want conditional return for root view.
this my code
rootView =…

Dayat San
- 43
- 1
- 9
0
votes
0 answers
android.view.ViewRootImpl cannot be cast to android.view.View
enter code hereI'm trying close popup when touch outside popup.My vode working API level 23+ .but not working API level 17.
Thank You in advance.enter image description here
LayoutInflater layoutInflater = (LayoutInflater)…

sinan yılmaz
- 123
- 1
- 6
0
votes
1 answer
Android - Getting Objects in Multiple RootView
public class OccuMechanical extends android.support.v4.app.Fragment {
private View v_schedule;
private LinearLayout layout_schedule;
private ImageButton iv_add_schedule;
private int i = 0;
@Override
public View…

Eco L. Ken
- 13
- 7