Categories
Mastering Development

How to call a value from a different ViewContoller? (Swift)

Iv created a quiz app, that tracks the user’s score till the user gets to the end. There is an if statement – when it reaches the end of the quiz, a results View controller pops up. My Question is I want to get the same score value presented at the end on the resultsViewContoller. […]

Categories
Development

Is there a way to increment the value being passed from the form?

I have a form which is taking ‘ID’ as an input and adding it to the table. My requirement is that once the value is submitted,the value in the should be auto incremented. Like for example. if i made an entry with id:4,name : xyz,age:34,email:ghy@gmail.com upon clicking add button the value is entering correctly in […]

Categories
Development

The component for route ‘router’ must be a React component

I am facing this error says The component for route ‘router’ must be a React componenent. Unable to check on which line it is showing an error. Any suggestions, thanks App Navigator class import { createStackNavigator } from ‘react-navigation-stack’ import Login from ‘./src/Login’; import Fruits from ‘./src/Fruits’; import FruitZoom from ‘./src/FruitZoom’; const AppNavigator = createStackNavigator({ […]